aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vrp.c
diff options
context:
space:
mode:
authorSebastian Pop <pop@cri.ensmp.fr>2005-06-08 10:47:05 +0200
committerSebastian Pop <spop@gcc.gnu.org>2005-06-08 08:47:05 +0000
commit79ebd55c85ca2d91bea2f35a190a0ae084d720c0 (patch)
tree89eb4489161f999fd07683ec4d1f769eb37fce8b /gcc/tree-vrp.c
parent216448c75d059b61f67ecd404aef3b6bfced8f88 (diff)
downloadgcc-79ebd55c85ca2d91bea2f35a190a0ae084d720c0.zip
gcc-79ebd55c85ca2d91bea2f35a190a0ae084d720c0.tar.gz
gcc-79ebd55c85ca2d91bea2f35a190a0ae084d720c0.tar.bz2
tree-data-ref.c (compute_estimated_nb_iterations, [...]): Fixed to use chrec_contains_undetermined to test the values of...
* tree-data-ref.c (compute_estimated_nb_iterations, analyze_array_indexes, compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine, find_data_references_in_loop): Fixed to use chrec_contains_undetermined to test the values of loop->estimated_nb_iterations. * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Compute the estimation only when loop->estimated_nb_iterations has not yet been initialized. (convert_step_widening, scev_probably_wraps_p): Add a call to estimate_numbers_of_iterations_loop. * tree-vrp.c (execute_vrp): Don't call estimate_numbers_of_iterations. From-SVN: r100749
Diffstat (limited to 'gcc/tree-vrp.c')
-rw-r--r--gcc/tree-vrp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c
index b42da826..35f78f4 100644
--- a/gcc/tree-vrp.c
+++ b/gcc/tree-vrp.c
@@ -3509,10 +3509,7 @@ execute_vrp (void)
cfg_loops = loop_optimizer_init (NULL);
if (cfg_loops)
- {
- scev_initialize (cfg_loops);
- estimate_numbers_of_iterations (cfg_loops);
- }
+ scev_initialize (cfg_loops);
vrp_initialize ();
ssa_propagate (vrp_visit_stmt, vrp_visit_phi_node);