diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2008-01-16 02:46:46 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2008-01-16 02:46:46 +0000 |
commit | 92a6bdbd109be6d6b270205fd57045c1bf4862b8 (patch) | |
tree | f9eae7f4746329d2835ea7805123c03c5f8214ba /gcc/tree-parloops.c | |
parent | 1d4af1e827fad674218523d2e91c6aed1f5729c4 (diff) | |
download | gcc-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.c | 5 |
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 |