From: Jan Hubicka Date: Fri, 3 Sep 2004 20:36:02 +0000 (+0200) Subject: tree-ssa-operands.c (fini_ssa_operands): ggc_free unused arrays. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e3e17d3bed869f0a2bd3892b03ec53339d2724c;p=gcc.git tree-ssa-operands.c (fini_ssa_operands): ggc_free unused arrays. * tree-ssa-operands.c (fini_ssa_operands): ggc_free unused arrays. * tree-ssanames (init_ssanames): Likewise. From-SVN: r87054 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 615d8d2691a..0ee169c455c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-09-03 Jan Hubicka + + * tree-ssa-operands.c (fini_ssa_operands): ggc_free unused arrays. + * tree-ssanames (init_ssanames): Likewise. + 2004-09-03 Ziemowit Laski * stub-objc.c (objc_is_id, objc_declare_alias, objc_declare_class, diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index c57d486c21c..a87d8450348 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -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; } diff --git a/gcc/tree-ssanames.c b/gcc/tree-ssanames.c index d46014a277d..1e947d69f1e 100644 --- a/gcc/tree-ssanames.c +++ b/gcc/tree-ssanames.c @@ -155,6 +155,8 @@ init_ssanames (void) void fini_ssanames (void) { + ggc_free (ssa_names); + ssa_names = NULL; free_ssanames = NULL; }