Call symbol_summary<>::release instead of ~symbol_summary (PR ipa/79285).
authorMartin Liska <mliska@suse.cz>
Tue, 31 Jan 2017 10:54:41 +0000 (11:54 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 31 Jan 2017 10:54:41 +0000 (10:54 +0000)
commita0a348b1670721eb5dff2b88a3cc0f12509fd69b
tree3e1ce51ab80bd2ce1e84174605f2582ba2ff5dc6
parent8b670f93ab11361ae88a22fea4f96c770afb6311
Call symbol_summary<>::release instead of ~symbol_summary (PR ipa/79285).

2017-01-31  Martin Liska  <mliska@suse.cz>

PR ipa/79285
* ipa-prop.c (ipa_free_all_node_params): Call release method
instead of ~sumbol_summary to not to trigger double times
dtor of hash_map.

From-SVN: r245058
gcc/ChangeLog
gcc/ipa-prop.c