Commit 830b4fec by Bernhard Fischer Committed by Bernhard Reutner-Fischer

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
parent 37ec60ed
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.
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment