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
This commit is contained in:
Sebastian Pop 2008-01-16 02:46:46 +00:00 committed by Sebastian Pop
parent 1d4af1e827
commit 92a6bdbd10
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,7 @@
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.

View file

@ -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