Re: [PATCH] Fix PR86452

2018-07-12 Thread Jeff Law
On 07/11/2018 07:11 AM, Richard Biener wrote: > > The following fixes PR86452 by using scope_die_for which correctly > deals with -g1 in not creating (new) DIEs for namespaces. With > a larger LTO testcase we run into this with a namespace DIE not > readily available but I'm not sure the issue is

[PATCH] Fix PR86452

2018-07-11 Thread Richard Biener
The following fixes PR86452 by using scope_die_for which correctly deals with -g1 in not creating (new) DIEs for namespaces. With a larger LTO testcase we run into this with a namespace DIE not readily available but I'm not sure the issue isn't latent with non-LTO. The original code was added w