This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Call symbol_summary<>::release instead of ~symbol_summary (PR, ipa/79285).


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]