Call symbol_summary<>::release instead of ~symbol_summary (PR ipa/79285).
commitdf5a72e653e57887b5c10ba25ccd6f9b6f9d00ff
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jan 2017 10:54:41 +0000 (31 10:54 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jan 2017 10:54:41 +0000 (31 10:54 +0000)
tree3e1ce51ab80bd2ce1e84174605f2582ba2ff5dc6
parent0dfcbb08f23e7cd79d848c239327f65426506bc0
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245058 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-prop.c