From: Sebastian Pop Date: Wed, 16 Jan 2008 02:46:46 +0000 (+0000) Subject: tree-parloops.c (gen_parallel_loop): Free loop bound estimations. X-Git-Tag: releases/gcc-4.3.0~600 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92a6bdbd109be6d6b270205fd57045c1bf4862b8;p=thirdparty%2Fgcc.git tree-parloops.c (gen_parallel_loop): Free loop bound estimations. 2008-01-12 Sebastian Pop * tree-parloops.c (gen_parallel_loop): Free loop bound estimations. From-SVN: r131562 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b8c9e965d300..cf514a313d0c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-01-12 Sebastian Pop + + * tree-parloops.c (gen_parallel_loop): Free loop bound estimations. + 2008-01-12 Sebastian Pop * tree-parloops.c (loop_has_blocks_with_irreducible_flag): New. diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index 3b3176c5520f..b33940e70f83 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