diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-06 13:45:54 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-06 13:45:54 +0000 |
commit | c45ca67dc751e2812d8e5dd41bd265b0f31625f9 (patch) | |
tree | d738bba0e7750a3ba6762e5e246a67da6f3a6ddd /gcc/tree-ssa-sccvn.c | |
parent | bef3d81253d93e12384c061470381608d19b96cd (diff) | |
download | gcc-c45ca67dc751e2812d8e5dd41bd265b0f31625f9.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229850 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-sccvn.c')
-rw-r--r-- | gcc/tree-ssa-sccvn.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c index 159a7b60f81..c5f5b2760d0 100644 --- a/gcc/tree-ssa-sccvn.c +++ b/gcc/tree-ssa-sccvn.c @@ -4154,6 +4154,7 @@ class sccvn_dom_walker : public dom_walker public: sccvn_dom_walker () : dom_walker (CDI_DOMINATORS), fail (false), cond_stack (vNULL) {} + ~sccvn_dom_walker (); virtual void before_dom_children (basic_block); virtual void after_dom_children (basic_block); @@ -4168,6 +4169,11 @@ public: cond_stack; }; +sccvn_dom_walker::~sccvn_dom_walker () +{ + cond_stack.release (); +} + /* Record a temporary condition for the BB and its dominated blocks. */ void |