Fix IPA memory leaks.
authorMartin Liska <mliska@suse.cz>
Fri, 17 Apr 2015 13:56:15 +0000 (15:56 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 17 Apr 2015 13:56:15 +0000 (13:56 +0000)
commitbbd08a5dfa54f0f694c7869662531498c3289164
treeb8ea62df3ba560f4617a94213a69ec7fe5ce7aa3
parentc11cdefbd1b1170deaaea321f919e3d04cbf25af
Fix IPA memory leaks.

* ipa-cp.c (ipcp_driver): Release prev_edge_clone.
* ipa-icf.c (sem_item_optimizer::subdivide_classes_by_sensitive_refs):
Release symbol_compare_collection.
* ipa-reference.c: Add TODO that a vector should be released.

From-SVN: r222180
gcc/ChangeLog
gcc/ipa-icf.c
gcc/ipa-reference.c