Re: [PATCH] Assert we don't create recursive DW_AT_abstract_origin

2023-11-16 Thread Richard Biener
On Thu, 16 Nov 2023, Jason Merrill wrote: > On 10/30/23 08:57, Richard Biener wrote: > > We have a support case that shows GCC 7 sometimes creates > > DW_TAG_label refering to itself via a DW_AT_abstract_origin > > when using LTO. This for example triggers the sanity check > > added below during

Re: [PATCH] Assert we don't create recursive DW_AT_abstract_origin

2023-11-16 Thread Jason Merrill
On 10/30/23 08:57, Richard Biener wrote: We have a support case that shows GCC 7 sometimes creates DW_TAG_label refering to itself via a DW_AT_abstract_origin when using LTO. This for example triggers the sanity check added below during LTO bootstrap. Making this check cover more than just DW_A

[PATCH] Assert we don't create recursive DW_AT_abstract_origin

2023-10-30 Thread Richard Biener
We have a support case that shows GCC 7 sometimes creates DW_TAG_label refering to itself via a DW_AT_abstract_origin when using LTO. This for example triggers the sanity check added below during LTO bootstrap. Making this check cover more than just DW_AT_abstract_origin breaks bootstrap on trunk