https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78112
Pierre-Marie de Rodat <derodat at adacore dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thopre01 at gcc dot gnu.org --- Comment #17 from Pierre-Marie de Rodat <derodat at adacore dot com> --- For the record, Thomas also created a PR for this matter on arm-none-eabi: PR78318. I’ll close it. Thank you all for your reports. I tried to reproduce with partial cross-compilers on my x86_64-linux box but got still different results (for instance, I have 40 times DW_AT_object_pointer on arm-none-eabi). I also tried with an even more reduced reproducer (the one I quoted above) but again, I get different counts with the various compilers. The fact that there are duplicate attributes (as I said above: even with my fix and before my original patch) does not help. At this point I’m considering just removing the testcase… and hope that eventually I’ll be able to add a true one once duplicates are all gone. :-/ Thoughts?