This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/50833] New: ICE: in maybe_record_trace_start, at dwarf2cfi.c:2243 with -fshrink-wrap


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50833

             Bug #: 50833
           Summary: ICE: in maybe_record_trace_start, at dwarf2cfi.c:2243
                    with -fshrink-wrap
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: bernds@gcc.gnu.org
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 25577
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25577
reduced testcase

Compiler output:
$ gcc -fshrink-wrap testcase.c         
testcase.c: In function 'foo':
testcase.c:7:1: internal compiler error: in maybe_record_trace_start, at
dwarf2cfi.c:2243
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=0x1234f40 "/mnt/svn/gcc-trunk/gcc/dwarf2cfi.c",
line=2243, function=0x1236260 "maybe_record_trace_start")
    at /mnt/svn/gcc-trunk/gcc/diagnostic.c:898
#1  0x00000000006d9804 in maybe_record_trace_start (start=Unhandled dwarf
expression opcode 0xf3
) at /mnt/svn/gcc-trunk/gcc/dwarf2cfi.c:2243
#2  0x00000000006da3f4 in scan_trace (trace=Unhandled dwarf expression opcode
0xf3
) at /mnt/svn/gcc-trunk/gcc/dwarf2cfi.c:2420
#3  0x00000000006db9a7 in create_cfi_notes () at
/mnt/svn/gcc-trunk/gcc/dwarf2cfi.c:2550
#4  execute_dwarf2_frame () at /mnt/svn/gcc-trunk/gcc/dwarf2cfi.c:2908
#5  0x00000000008e5d68 in execute_one_pass (pass=0x179d860) at
/mnt/svn/gcc-trunk/gcc/passes.c:2064
#6  0x00000000008e60d5 in execute_pass_list (pass=0x179d860) at
/mnt/svn/gcc-trunk/gcc/passes.c:2119
#7  0x00000000008e60e7 in execute_pass_list (pass=0x179e840) at
/mnt/svn/gcc-trunk/gcc/passes.c:2120
#8  0x00000000008e60e7 in execute_pass_list (pass=0x179e8a0) at
/mnt/svn/gcc-trunk/gcc/passes.c:2120
#9  0x0000000000a3df6e in tree_rest_of_compilation (fndecl=0x7ffff568a100) at
/mnt/svn/gcc-trunk/gcc/tree-optimize.c:420
#10 0x000000000069475a in cgraph_expand_function (node=0x7ffff55886c0) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1819
#11 0x00000000006968ca in cgraph_output_in_order () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1984
#12 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2192
#13 0x0000000000696baa in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1327
#14 0x000000000057939b in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c-decl.c:9940
#15 0x00000000009dbb84 in compile_file (argc=13, argv=0x7fffffffdb08) at
/mnt/svn/gcc-trunk/gcc/toplev.c:581
#16 do_compile (argc=13, argv=0x7fffffffdb08) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1930
#17 toplev_main (argc=13, argv=0x7fffffffdb08) at
/mnt/svn/gcc-trunk/gcc/toplev.c:2006
#18 0x00007ffff6178d2d in __libc_start_main () from /lib64/libc.so.6
#19 0x000000000055cf19 in _start ()

Tested revisions:
r180324 - crash


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]