aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-09-01 11:39:55 +0000
committerRichard Guenther <rguenther@suse.de>2010-09-01 11:39:55 +0000
commitc30a345e736c76d54ea2d17db51a0165d29aa045 (patch)
treefb95bfb5f51d55210e47b9d172c749cf48f7008e /gcc/tree-ssa-loop.c
parenta02d0e2e56e45b9bac5f43899972258e9f1ca2ca (diff)
2010-09-01 Richard Guenther <rguenther@suse.de>
* tree-vrp.c (adjust_range_with_scev): Use number of iteration estimate. (vrp_visit_phi_node): Delay using SCEV till we balloon the range. (execute_vrp): Compute number of iteration estimates. * cfgloop.h (estimate_numbers_of_iterations_loop): Adjust prototype. * tree-flow.h (estimate_numbers_of_iterations): Likewise. * tree-data-ref.c (estimated_loop_iterations): Adjust. * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Infer loop bounds from undefined behavior based on a new parameter. (estimate_numbers_of_iterations): Likewise. (scev_probably_wraps_p): Adjust. * tree-ssa-loop.c (tree_ssa_loop_bounds): Likewise. * gcc.dg/vect/vect-outer-fir.c: Adjust. * gcc.dg/tree-ssa/vrp54.c: New testcase. * gcc.c-torture/execute/20100827-1.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@163724 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop.c')
-rw-r--r--gcc/tree-ssa-loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop.c b/gcc/tree-ssa-loop.c
index 9523dab14dd..a62098a399b 100644
--- a/gcc/tree-ssa-loop.c
+++ b/gcc/tree-ssa-loop.c
@@ -458,7 +458,7 @@ tree_ssa_loop_bounds (void)
if (number_of_loops () <= 1)
return 0;
- estimate_numbers_of_iterations ();
+ estimate_numbers_of_iterations (true);
scev_reset ();
return 0;
}