diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1ba1eb67ebd..8190ad43c29 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +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. + 2017-01-31 Aldy Hernandez PR tree-optimization/71691 diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 834c27d100e..3ef3d4fae9e 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; }