http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53860
Bug #: 53860 Summary: [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Created attachment 27744 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27744 reduced testcase Compiler output: $ gcc -fkeep-inline-functions -fdebug-types-section -g testcase.C testcase.C:7:1: internal compiler error: in should_move_die_to_comdat, at dwarf2out.c:6254 } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. (gdb) bt #0 fancy_abort (file=0x13a48e0 "/mnt/svn/gcc-trunk/gcc/dwarf2out.c", line=6254, function=0x13a2000 "should_move_die_to_comdat") at /mnt/svn/gcc-trunk/gcc/diagnostic.c:1010 #1 0x00000000008acdf1 in should_move_die_to_comdat (die=0x7ffff6ad42d0) at /mnt/svn/gcc-trunk/gcc/dwarf2out.c:6254 #2 break_out_comdat_types (die=Unhandled dwarf expression opcode 0xfa ) at /mnt/svn/gcc-trunk/gcc/dwarf2out.c:6568 #3 0x00000000008d1103 in dwarf2out_finish (filename=<optimized out>) at /mnt/svn/gcc-trunk/gcc/dwarf2out.c:22347 #4 0x0000000000b8c8db in compile_file () at /mnt/svn/gcc-trunk/gcc/toplev.c:598 #5 0x0000000000b8e408 in do_compile () at /mnt/svn/gcc-trunk/gcc/toplev.c:1867 #6 toplev_main (argc=16, argv=0x7fffffffd6a8) at /mnt/svn/gcc-trunk/gcc/toplev.c:1943 #7 0x00007ffff6f052ad in __libc_start_main () from /lib64/libc.so.6 #8 0x0000000000592811 in _start () Tested revisions: r189247 - crash 4.7 r188682 - OK