From a0a348b1670721eb5dff2b88a3cc0f12509fd69b Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 31 Jan 2017 11:54:41 +0100 Subject: Call symbol_summary<>::release instead of ~symbol_summary (PR ipa/79285). 2017-01-31 Martin Liska 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/ipa-prop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ipa-prop.c') 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; } -- cgit v1.1