From: Richard Guenther Date: Fri, 16 Sep 2005 07:54:03 +0000 (+0000) Subject: ipa-pure-const.c (static_execute): Free auxiliar information. X-Git-Tag: misc/cutover-cvs2svn~595 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f7acf1c26d083e143b4c90eb69b8fb9a5d0314ab;p=thirdparty%2Fgcc.git ipa-pure-const.c (static_execute): Free auxiliar information. 2005-09-16 Richard Guenther * ipa-pure-const.c (static_execute): Free auxiliar information. * ipa-type-escape.c (discover_unique_type): Free temporary key. * tree-vrp.c (remove_range_assertions): Free blocks_visited sbitmap. From-SVN: r104341 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a64a732e1a8b..820a062acfd4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-09-16 Richard Guenther + + * ipa-pure-const.c (static_execute): Free auxiliar information. + * ipa-type-escape.c (discover_unique_type): Free temporary key. + * tree-vrp.c (remove_range_assertions): Free blocks_visited sbitmap. + 2005-09-15 DJ Delorie * config/m32c/m32c-lib1.S (__m32c_eh_return): Fix typo. diff --git a/gcc/ipa-pure-const.c b/gcc/ipa-pure-const.c index eb7273c59921..23a768570857 100644 --- a/gcc/ipa-pure-const.c +++ b/gcc/ipa-pure-const.c @@ -695,6 +695,9 @@ static_execute (void) /* Get rid of the aux information. */ if (node->aux) { + w_info = node->aux; + if (w_info->aux) + free (w_info->aux); free (node->aux); node->aux = NULL; } diff --git a/gcc/ipa-type-escape.c b/gcc/ipa-type-escape.c index e369d313dacd..38cc23b2c585 100644 --- a/gcc/ipa-type-escape.c +++ b/gcc/ipa-type-escape.c @@ -250,6 +250,7 @@ discover_unique_type (tree type) } i++; } + free (brand); } /* Return true if TYPE is one of the type classes that we are willing diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index e802b2db802d..4aec9fcc4dd0 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -2784,6 +2784,8 @@ remove_range_assertions (void) else bsi_next (&si); } + + sbitmap_free (blocks_visited); }