On 11/5/19 8:12 AM, Martin Liška wrote:
> Hi.
> 
> When calling delete_function_version, we should also clear
> version_info_node once it can be seen GGC collect.
> 
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
> 
> Ready to be installed?
> Thanks,
> Martin
> 
> gcc/ChangeLog:
> 
> 2019-11-05  Martin Liska  <mli...@suse.cz>
> 
>     PR c++/92354
>     * cgraph.c (delete_function_version): Clear global
>     variable version_info_node if equal to deleted
>     function.
> 
> gcc/testsuite/ChangeLog:
> 
> 2019-11-05  Martin Liska  <mli...@suse.cz>
> 
>     PR c++/92354
>     * g++.target/i386/pr92354.C: New test.
OK
jeff

Reply via email to