Fix memory leaks in IPA devirt
authorMartin Liska <mliska@suse.cz>
Fri, 27 Nov 2015 08:36:52 +0000 (09:36 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 27 Nov 2015 08:36:52 +0000 (08:36 +0000)
commited37a6cf23d416505804b67438129856f5717c93
treef2780a5c28eb21130241402da2d97c9f91a3adb0
parent2ce2720078f3e6448ff26e1c4b2041a2f411aa15
Fix memory leaks in IPA devirt

* ipa-devirt.c (ipa_devirt): Use auto_vec instead
of a local-scope vec.
(struct final_warning_record): Use auto_vec instead
of vec.

From-SVN: r230994
gcc/ChangeLog
gcc/ipa-devirt.c