http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50203
Bug #: 50203 Summary: ICE: in output_loc_list, at dwarf2out.c:8188 with --param max-vartrack-expr-depth=140 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 25114 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25114 reduced testcase Compiler output: $ /mnt/svn/gcc-trunk/binary-latest/bin/gcc -O3 -gdwarf-2 -fno-tree-sink --param max-vartrack-expr-depth=140 testcase.c testcase.c:29:1: internal compiler error: in output_loc_list, at dwarf2out.c:8188 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=0x125e160 "/mnt/svn/gcc-trunk/gcc/dwarf2out.c", line=8188, function=0x1266840 "output_loc_list") at /mnt/svn/gcc-trunk/gcc/diagnostic.c:892 #1 0x00000000006f3e0c in output_loc_list (die=Unhandled dwarf expression opcode 0xfa ) at /mnt/svn/gcc-trunk/gcc/dwarf2out.c:8188 #2 output_location_lists (die=Unhandled dwarf expression opcode 0xfa ) at /mnt/svn/gcc-trunk/gcc/dwarf2out.c:7514 #3 0x00000000006f3bd1 in output_location_lists (die=Unhandled dwarf expression opcode 0xfa ) at /mnt/svn/gcc-trunk/gcc/dwarf2out.c:7516 #4 0x00000000006f3bd1 in output_location_lists (die=Unhandled dwarf expression opcode 0xfa ) at /mnt/svn/gcc-trunk/gcc/dwarf2out.c:7516 #5 0x00000000006f3bd1 in output_location_lists (die=Unhandled dwarf expression opcode 0xfa ) at /mnt/svn/gcc-trunk/gcc/dwarf2out.c:7516 #6 0x0000000000714457 in dwarf2out_finish (filename=Unhandled dwarf expression opcode 0xf3 ) at /mnt/svn/gcc-trunk/gcc/dwarf2out.c:22620 #7 0x00000000009dc3ce in compile_file (argc=18, argv=0x7fffffffda88) at /mnt/svn/gcc-trunk/gcc/toplev.c:597 #8 do_compile (argc=18, argv=0x7fffffffda88) at /mnt/svn/gcc-trunk/gcc/toplev.c:1886 #9 toplev_main (argc=18, argv=0x7fffffffda88) at /mnt/svn/gcc-trunk/gcc/toplev.c:1962 #10 0x00007ffff6192d2d in __libc_start_main () from /lib64/libc.so.6 #11 0x000000000055a609 in _start () Tested revisions: r178096 - crash