IPA ICF: fix memory leak.
authorMartin Liska <mliska@suse.cz>
Thu, 27 Nov 2014 15:36:10 +0000 (16:36 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 27 Nov 2014 15:36:10 +0000 (15:36 +0000)
commitc190efccf0bd045b1b4ab4316e17a4674698cca8
treeaf6e5c910894ed736447a5b8f37d44901fde3654
parenta92bf1b1c7942a6fb8af77bf8d90382aab60341f
IPA ICF: fix memory leak.

* ipa-icf.c (sem_function::equals_private): int* is replaced with
auto_vec.
(sem_function::bb_dict_test): Likewise.
* ipa-icf.h: Likewise.

Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
From-SVN: r218129
gcc/ChangeLog
gcc/ipa-icf.c
gcc/ipa-icf.h