Re: [PATCH] debug/110295 - mixed up early/late debug for member DIEs

2023-06-20 Thread Richard Biener via Gcc-patches
On Mon, 19 Jun 2023, Jason Merrill wrote: > On 6/19/23 06:15, Richard Biener wrote: > > When we process a scope typedef during early debug creation and > > we have already created a DIE for the type when the decl is > > TYPE_DECL_IS_STUB and this DIE is still in limbo we end up > > just re-parenti

Re: [PATCH] debug/110295 - mixed up early/late debug for member DIEs

2023-06-19 Thread Jason Merrill via Gcc-patches
On 6/19/23 06:15, Richard Biener wrote: When we process a scope typedef during early debug creation and we have already created a DIE for the type when the decl is TYPE_DECL_IS_STUB and this DIE is still in limbo we end up just re-parenting that type DIE instead of properly creating a DIE for the

[PATCH] debug/110295 - mixed up early/late debug for member DIEs

2023-06-19 Thread Richard Biener via Gcc-patches
When we process a scope typedef during early debug creation and we have already created a DIE for the type when the decl is TYPE_DECL_IS_STUB and this DIE is still in limbo we end up just re-parenting that type DIE instead of properly creating a DIE for the decl, eventually picking up the now compl