From: Jakub Jelinek Date: Mon, 15 Sep 2008 21:57:17 +0000 (+0200) Subject: ira-color.c (finish_cost_update): Free update_cost_queue_elems rather than update_cos... X-Git-Tag: releases/gcc-4.4.0~2430 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0eeb22402c9694e375f3a2b9113bcf94d30205cf;p=thirdparty%2Fgcc.git ira-color.c (finish_cost_update): Free update_cost_queue_elems rather than update_cost_queue. * ira-color.c (finish_cost_update): Free update_cost_queue_elems rather than update_cost_queue. From-SVN: r140378 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fbb50d0a91bf..31660347522e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2008-09-15 Jakub Jelinek + * ira-color.c (finish_cost_update): Free update_cost_queue_elems + rather than update_cost_queue. + * tree-ssa-alias.c (init_alias_info): Call bitmap_obstack_release in every call starting with the second one, instead of only when alias_bitmap_obstack.elements != NULL. diff --git a/gcc/ira-color.c b/gcc/ira-color.c index 73b568e8ce10..9146ac04dc9b 100644 --- a/gcc/ira-color.c +++ b/gcc/ira-color.c @@ -139,7 +139,7 @@ initiate_cost_update (void) static void finish_cost_update (void) { - ira_free (update_cost_queue); + ira_free (update_cost_queue_elems); } /* When we traverse allocnos to update hard register costs, the cost