https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78112
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pmderodat at gcc dot gnu.org
--- Comment #5 from Rainer Orth <ro at gcc dot gnu.org> ---
It turns out I've been barking up the wrong tree: the reghunt revealed that
this
patch
2016-10-12 Pierre-Marie de Rodat <[email protected]>
* dwarf2out.c (dwarf2out_early_global_decl): For nested
functions, call dwarf2out_decl on the parent function first.
is the culprit. The message cited
dsymutil ./copy.exe
warning: invalid DWARF generated by the compiler: DIE 0x0003cb45 has multiple
AT_inline attributes in
'/private/var/gcc/reghunt/pr78112/33425/x86_64-apple-darwin11.4.2/libstdc++-v3/testsuite/copy.o'.
warning: invalid DWARF generated by the compiler: DIE 0x000401a8 has multiple
AT_inline attributes in
'/private/var/gcc/reghunt/pr78112/33425/x86_64-apple-darwin11.4.2/libstdc++-v3/testsuite/copy.o'.
warning: invalid DWARF generated by the compiler: DIE 0x00040fff has multiple
AT_inline attributes in
'/private/var/gcc/reghunt/pr78112/33425/x86_64-apple-darwin11.4.2/libstdc++-v3/testsuite/copy.o'.
is from dsymutil, not the assembler as I first assumed.
I'm attaching a tarball with preprocessed input (identical except for path
names) and the assembler output. The one at r241022 is fine, while dsymutil
complains about the second (r241023) and indeed in the assembler output at
line 57708 there's a duplicate DW_AT_inline.
Rainer