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

           Summary: [4.5/4.6/4.7 Regression] ICE: in make_edges, at
                    cfgbuild.c:319 with -mtune=pentiumpro
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: zso...@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: i686-pc-linux-gnu


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

Compiler output:
$ gcc -O -m32 -mtune=pentiumpro testcase.c -Wno-abi
testcase.c: In function 'foo':
testcase.c:9:1: internal compiler error: in make_edges, at cfgbuild.c:319
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=0x1348888 "/mnt/svn/gcc-trunk/gcc/cfgbuild.c", line=319,
function=0x1348a01 "make_edges")
    at /mnt/svn/gcc-trunk/gcc/diagnostic.c:892
#1  0x0000000000f57610 in make_edges (blocks=Unhandled dwarf expression opcode
0xf3
) at /mnt/svn/gcc-trunk/gcc/cfgbuild.c:319
#2  find_many_sub_basic_blocks (blocks=Unhandled dwarf expression opcode 0xf3
) at /mnt/svn/gcc-trunk/gcc/cfgbuild.c:595
#3  0x00000000005e3f78 in gimple_expand_cfg () at
/mnt/svn/gcc-trunk/gcc/cfgexpand.c:4199
#4  0x00000000007f0486 in execute_one_pass (pass=0x1648ac0) at
/mnt/svn/gcc-trunk/gcc/passes.c:1555
#5  0x00000000007f0775 in execute_pass_list (pass=0x1648ac0) at
/mnt/svn/gcc-trunk/gcc/passes.c:1610
#6  0x00000000009353d5 in tree_rest_of_compilation (fndecl=0x7ffff5978100) at
/mnt/svn/gcc-trunk/gcc/tree-optimize.c:422
#7  0x0000000000b010c7 in cgraph_expand_function (node=0x7ffff5992000) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1575
#8  0x0000000000b0381c in cgraph_expand_all_functions () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1634
#9  cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1898
#10 0x0000000000b03d9a in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1095
#11 0x0000000000508de4 in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c-decl.c:9879
#12 0x00000000008de0fd in compile_file (argc=17, argv=0x7fffffffdc88) at
/mnt/svn/gcc-trunk/gcc/toplev.c:591
#13 do_compile (argc=17, argv=0x7fffffffdc88) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1900
#14 toplev_main (argc=17, argv=0x7fffffffdc88) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1963
#15 0x00007ffff6487b6d in __libc_start_main () from /lib/libc.so.6
#16 0x00000000004ef7f9 in _start ()

Tested revisions:
r171775 - crash
4.6 r171597 - crash
4.5 r171597 - crash
4.4 r171597 - OK

Reply via email to