]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix newly introduced memory leak in
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Dec 2015 09:38:53 +0000 (09:38 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Dec 2015 09:38:53 +0000 (09:38 +0000)
commitdd68020a91f43fdf448387ff8f13d7e141d432a6
treefb7947be8a3f4d0a15355104b20479f9e247ed09
parent6e0cf98132b57fadf641734df6bfb55b734e4b0f
Fix newly introduced memory leak in

* hash-traits.h (struct typed_delete_remove): New function.
(typed_delete_remove ::remove): Likewise.
* tree-ssa-loop-ivopts.c (struct iv_common_cand): Replace
auto_vec with vec.
(record_common_cand): Replace XNEW with operator new.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231448 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/hash-traits.h
gcc/tree-ssa-loop-ivopts.c