]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ipa-pure-const.c (static_execute): Free auxiliar information.
authorRichard Guenther <rguenther@suse.de>
Fri, 16 Sep 2005 07:54:03 +0000 (07:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 16 Sep 2005 07:54:03 +0000 (07:54 +0000)
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

gcc/ChangeLog
gcc/ipa-pure-const.c
gcc/ipa-type-escape.c
gcc/tree-vrp.c

index a64a732e1a8b94c6e49a89aae7b115b4e13e5ff1..820a062acfd4ac18a857583e2f45ea0e6b1d6a81 100644 (file)
@@ -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.
index eb7273c599216ccba03c9dc7bf949694d8d3ad6f..23a768570857688aaff13ca7a8d62b6c4e9e38dc 100644 (file)
@@ -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;
       }
index e369d313dacd60cb9bdce0daf528c5ba4714b6ff..38cc23b2c58544ca0a94f0e4c3f631503066f664 100644 (file)
@@ -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
index e802b2db802dd047d5048f61d0391e310bb03fe5..4aec9fcc4dd0c9c055aaff24b49a1d5ea8b0b30c 100644 (file)
@@ -2784,6 +2784,8 @@ remove_range_assertions (void)
        else
          bsi_next (&si);
       }
+
+  sbitmap_free (blocks_visited);
 }