aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-parloops.c
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2008-01-16 02:46:46 +0000
committerSebastian Pop <spop@gcc.gnu.org>2008-01-16 02:46:46 +0000
commit92a6bdbd109be6d6b270205fd57045c1bf4862b8 (patch)
treef9eae7f4746329d2835ea7805123c03c5f8214ba /gcc/tree-parloops.c
parent1d4af1e827fad674218523d2e91c6aed1f5729c4 (diff)
downloadgcc-92a6bdbd109be6d6b270205fd57045c1bf4862b8.zip
gcc-92a6bdbd109be6d6b270205fd57045c1bf4862b8.tar.gz
gcc-92a6bdbd109be6d6b270205fd57045c1bf4862b8.tar.bz2
tree-parloops.c (gen_parallel_loop): Free loop bound estimations.
2008-01-12 Sebastian Pop <sebastian.pop@amd.com> * tree-parloops.c (gen_parallel_loop): Free loop bound estimations. From-SVN: r131562
Diffstat (limited to 'gcc/tree-parloops.c')
-rw-r--r--gcc/tree-parloops.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c
index 3b3176c..b33940e 100644
--- a/gcc/tree-parloops.c
+++ b/gcc/tree-parloops.c
@@ -1723,6 +1723,11 @@ gen_parallel_loop (struct loop *loop, htab_t reduction_list,
expander to do it). */
cancel_loop_tree (loop);
+ /* Free loop bound estimations that could contain references to
+ removed statements. */
+ FOR_EACH_LOOP (li, loop, 0)
+ free_numbers_of_iterations_estimates_loop (loop);
+
/* Expand the parallel constructs. We do it directly here instead of running
a separate expand_omp pass, since it is more efficient, and less likely to
cause troubles with further analyses not being able to deal with the