[PATCH] Call symbol_summary<>::release instead of ~symbol_summary (PR, ipa/79285).
Richard Biener
richard.guenther@gmail.com
Tue Jan 31 09:39:00 GMT 2017
On Tue, Jan 31, 2017 at 9:34 AM, Martin Liška <mliska@suse.cz> wrote:
> Hello.
>
> Calling twice ~symbol_summary (once from ipa_free_all_node_params, second time from ggc free page) causes
> double calling ~hash_map, which triggers the valgrind issue. Proper fix is to call ::release from
> ipa_free_all_node_params.
>
> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
>
> Ready to be installed?
Ok.
Richard.
> Martin
More information about the Gcc-patches
mailing list