diff options
author | Martin Liska <mliska@suse.cz> | 2017-01-31 11:54:41 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-01-31 10:54:41 +0000 |
commit | a0a348b1670721eb5dff2b88a3cc0f12509fd69b (patch) | |
tree | 3e1ce51ab80bd2ce1e84174605f2582ba2ff5dc6 /gcc/ipa-prop.c | |
parent | 8b670f93ab11361ae88a22fea4f96c770afb6311 (diff) | |
download | gcc-a0a348b1670721eb5dff2b88a3cc0f12509fd69b.zip gcc-a0a348b1670721eb5dff2b88a3cc0f12509fd69b.tar.gz gcc-a0a348b1670721eb5dff2b88a3cc0f12509fd69b.tar.bz2 |
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
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r-- | gcc/ipa-prop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 834c27d..3ef3d4f 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -3574,7 +3574,7 @@ ipa_free_all_edge_args (void) void ipa_free_all_node_params (void) { - ipa_node_params_sum->~ipa_node_params_t (); + ipa_node_params_sum->release (); ipa_node_params_sum = NULL; } |