http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60060
Bug ID: 60060 Summary: [4.9 Rgression] lto1: internal compiler error: in add_AT_specification, at dwarf2out.c:4096 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: dominiq at lps dot ens.fr CC: aldyh at gcc dot gnu.org, burnus at gcc dot gnu.org, rguenth at gcc dot gnu.org At r207473 compiling gfortran.dg/namelist_51.f90 with '-g -flto' gives the following ICE lto1: internal compiler error: in add_AT_specification, at dwarf2out.c:4096 Compiling the tests with '-g' or '-g -flto -O3' gives on x86_64-apple-darwin13 the warning warning: invalid DWARF generated by the compiler: DIE 0x000001f0 has multiple AT_calling_convention attributes in '/var/folders/8q/sh_swgz96r7f5vnn08f7fxr00000gn/T//ccLHCwpM.ltrans0.ltrans.o'. Note that before r207471 (and after r205679) the ICE was /opt/gcc/work/gcc/testsuite/gfortran.dg/namelist_51.f90: In function 'readnamelist.1900': /opt/gcc/work/gcc/testsuite/gfortran.dg/namelist_51.f90:8:0: internal compiler error: in lto_output_tree, at lto-streamer-out.c:1390 call readNamelist()