tree-ssa-pre.c (fini_antic): Bitmap_sets have to be freed before the grand_bitmap_obstack.

2008-06-21  Bernhard Fischer  <aldot@gcc.gnu.org>

	* tree-ssa-pre.c (fini_antic): Bitmap_sets have to be freed before
	the grand_bitmap_obstack.

From-SVN: r137000
This commit is contained in:
Bernhard Fischer 2008-06-21 13:29:55 +02:00 committed by Bernhard Reutner-Fischer
parent 37ec60ed2c
commit 830b4fecd5
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-06-21 Bernhard Fischer <aldot@gcc.gnu.org>
* tree-ssa-pre.c (fini_antic): Bitmap_sets have to be freed before
the grand_bitmap_obstack.
2008-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* ggc.h (GGC_RESIZEVAR): New, reorder macros.

View file

@ -2017,6 +2017,8 @@ fini_antic (void)
{
basic_block bb;
if (maximal_set)
bitmap_set_free (maximal_set);
free (postorder);
bitmap_obstack_release (&grand_bitmap_obstack);
free_alloc_pool (bitmap_set_pool);
@ -2025,8 +2027,6 @@ fini_antic (void)
free_alloc_pool (unary_node_pool);
free_alloc_pool (comparison_node_pool);
if (maximal_set)
bitmap_set_free (maximal_set);
FOR_ALL_BB (bb)
{
free (bb->aux);