diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-16 02:46:46 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-16 02:46:46 +0000 |
commit | d46d3c1cbec306dc7c0c669debb23d1a482b33e7 (patch) | |
tree | f9eae7f4746329d2835ea7805123c03c5f8214ba /gcc/tree-parloops.c | |
parent | d4fcfd16f48c3b7d11133cd9c9c70e43b63fd372 (diff) | |
download | gcc-d46d3c1cbec306dc7c0c669debb23d1a482b33e7.tar.gz |
2008-01-12 Sebastian Pop <sebastian.pop@amd.com>
* tree-parloops.c (gen_parallel_loop): Free loop bound estimations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131562 138bc75d-0d04-0410-961f-82ee72b054a4
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 3b3176c5520..b33940e70f8 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 |