https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82011
Bug ID: 82011 Summary: [8 regression] early lto debug causes dsymutil warning on Darwin Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Target: *-*-darwin* Created attachment 42062 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42062&action=edit preprocessed input, assembler output with -dA -fverbose-asm, object file and executable Since the early LTO debug patch has landed, I'm seeing a large number of testsuite regressions on Darwin, e.g. FAIL: g++.dg/torture/pr37922.C -O3 -g (test for excess errors) warning: invalid DWARF generated by the compiler: DIE 0x0000241b has multiple AT_inline attributes in '/var/folders/zz/zyxvpxvq6csfxvn_n000087r00021y/T//ccpTfHtT.o'. The warning is from running dsymutil on the executable, and indeed running dwarfdump on the corresponding object file finds 0x0000241b: TAG_subprogram [65] * AT_specification( {0x00000d35} ( "_ZN11rot_mx_infoC4ERK6rot_mx" ) ) AT_decl_line( 469 ) AT_inline( DW_INL_not_inlined ) AT_inline( DW_INL_not_inlined ) AT_sibling( {0x00002481} ) I'm attaching preprocessed input etc. for reference. Rainer