diff options
author | Richard Guenther <rguenther@suse.de> | 2005-09-16 07:54:03 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2005-09-16 07:54:03 +0000 |
commit | f7acf1c26d083e143b4c90eb69b8fb9a5d0314ab (patch) | |
tree | bb7b337f4acf7e96a69bd9e5203badcb3ca0af15 | |
parent | 0161fcff945297ee55f7a272813ed06ef68f9a69 (diff) | |
download | gcc-f7acf1c26d083e143b4c90eb69b8fb9a5d0314ab.zip gcc-f7acf1c26d083e143b4c90eb69b8fb9a5d0314ab.tar.gz gcc-f7acf1c26d083e143b4c90eb69b8fb9a5d0314ab.tar.bz2 |
ipa-pure-const.c (static_execute): Free auxiliar information.
2005-09-16 Richard Guenther <rguenther@suse.de>
* 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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/ipa-pure-const.c | 3 | ||||
-rw-r--r-- | gcc/ipa-type-escape.c | 1 | ||||
-rw-r--r-- | gcc/tree-vrp.c | 2 |
4 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a64a732..820a062 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-09-16 Richard Guenther <rguenther@suse.de> + + * 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 <dj@redhat.com> * 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 eb7273c..23a7685 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 e369d31..38cc23b 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 e802b2d..4aec9fc 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); } |