aboutsummaryrefslogtreecommitdiff
path: root/gcc/postreload-gcse.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-11-06 13:45:54 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-11-06 13:45:54 +0000
commitff56974436c9c8f994c9c80040ca026bde0965ee (patch)
treed738bba0e7750a3ba6762e5e246a67da6f3a6ddd /gcc/postreload-gcse.c
parentc047b6943474ab93147434cf9c61c168103e955f (diff)
downloadgcc-ff56974436c9c8f994c9c80040ca026bde0965ee.zip
gcc-ff56974436c9c8f994c9c80040ca026bde0965ee.tar.gz
gcc-ff56974436c9c8f994c9c80040ca026bde0965ee.tar.bz2
tree-ssa-sccvn.c (class sccvn_dom_walker): Add destructor.
2015-11-06 Richard Biener <rguenther@suse.de> * tree-ssa-sccvn.c (class sccvn_dom_walker): Add destructor. * lra.c (init_reg_info): Truncate copy_vec instead of re-allocating a new one and leaking the old. * ipa-inline-analysis.c (estimate_function_body_sizes): Free bb_infos vec. * sched-deps.c (sched_deps_finish): Free the dn/dl pools. * postreload-gcse.c (free_mem): Free modify_mem_list and canon_modify_mem_list. From-SVN: r229850
Diffstat (limited to 'gcc/postreload-gcse.c')
-rw-r--r--gcc/postreload-gcse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/postreload-gcse.c b/gcc/postreload-gcse.c
index ea4bba4..f8a770e 100644
--- a/gcc/postreload-gcse.c
+++ b/gcc/postreload-gcse.c
@@ -348,6 +348,8 @@ free_mem (void)
BITMAP_FREE (blocks_with_calls);
BITMAP_FREE (modify_mem_list_set);
free (reg_avail_info);
+ free (modify_mem_list);
+ free (canon_modify_mem_list);
}