tree-ssa-operands.c (fini_ssa_operands): ggc_free unused arrays.
authorJan Hubicka <jh@suse.cz>
Fri, 3 Sep 2004 20:36:02 +0000 (22:36 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 3 Sep 2004 20:36:02 +0000 (20:36 +0000)
* tree-ssa-operands.c (fini_ssa_operands): ggc_free unused arrays.
* tree-ssanames (init_ssanames): Likewise.

From-SVN: r87054

gcc/ChangeLog
gcc/tree-ssa-operands.c
gcc/tree-ssanames.c

index 615d8d2691a6ffee78a706a81689ef6f05bb30a3..0ee169c455c269e8c87abe32a65e8e6863bcd701 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-03  Jan Hubicka  <jh@suse.cz>
+
+       * tree-ssa-operands.c (fini_ssa_operands): ggc_free unused arrays.
+       * tree-ssanames (init_ssanames): Likewise.
+
 2004-09-03  Ziemowit Laski  <zlaski@apple.com>
 
        * stub-objc.c (objc_is_id, objc_declare_alias, objc_declare_class,
index c57d486c21cc879d53f60b15853e712e69c4b11f..a87d84503482780e56bcdc40f534da1f8682920b 100644 (file)
@@ -290,6 +290,16 @@ init_ssa_operands (void)
 void
 fini_ssa_operands (void)
 {
+  ggc_free (build_defs);
+  ggc_free (build_uses);
+  ggc_free (build_v_may_defs);
+  ggc_free (build_vuses);
+  ggc_free (build_v_must_defs);
+  build_defs = NULL;
+  build_uses = NULL;
+  build_v_may_defs = NULL;
+  build_vuses = NULL;
+  build_v_must_defs = NULL;
 }
 
 
index d46014a277dd1827ba4364c74f67720751278c56..1e947d69f1e45df78c26484d16bc9d491d3935aa 100644 (file)
@@ -155,6 +155,8 @@ init_ssanames (void)
 void
 fini_ssanames (void)
 {
+  ggc_free (ssa_names);
+  ssa_names = NULL;
   free_ssanames = NULL;
 }