Fix memory leak in ipa-pure-const
authorMartin Liska <mliska@suse.cz>
Thu, 19 May 2016 15:06:17 +0000 (17:06 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 19 May 2016 15:06:17 +0000 (15:06 +0000)
commit7f153d8202c35578ca22746d2c3297f4a83272fb
tree75c97bac01fb9766b882d72ef3defb04a2e4f7b7
parent6e078af89e237f8c4e139703a1bb83bd7671858c
Fix memory leak in ipa-pure-const

* ipa-pure-const.c (set_function_state): Remove an existing
funct_state.
(remove_node_data): Do not free it as it's released
in set_function_state.

From-SVN: r236469
gcc/ChangeLog
gcc/ipa-pure-const.c