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 | |
| parent | d4fcfd16f48c3b7d11133cd9c9c70e43b63fd372 (diff) | |
| download | ppe42-gcc-d46d3c1cbec306dc7c0c669debb23d1a482b33e7.tar.gz ppe42-gcc-d46d3c1cbec306dc7c0c669debb23d1a482b33e7.zip | |
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
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/tree-parloops.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b8c9e965d30..cf514a313d0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2008-01-12 Sebastian Pop <sebastian.pop@amd.com> + * tree-parloops.c (gen_parallel_loop): Free loop bound estimations. + +2008-01-12 Sebastian Pop <sebastian.pop@amd.com> + * tree-parloops.c (loop_has_blocks_with_irreducible_flag): New. (parallelize_loops): Don't parallelize irreducible components. 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 |

