[Bug tree-optimization/42341] New: ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Dec 9 11:19:00 GMT 2009
Attached object file crashes with lto compilation on alphaev68 cross:
~/gcc-build-alpha/gcc/lto1 -O0 c_lto_20090116_0.o
Performing interprocedural optimizations
<whole-program> <inline>Assembling functions:
foo
In file included from :0:0:
/home/uros/gcc-svn/trunk/gcc/testsuite/gcc.dg/lto/20090116_0.c: In function
ÂfooÂ:
/home/uros/gcc-svn/trunk/gcc/testsuite/gcc.dg/lto/20090116_0.c:5:5: internal
compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:228
Please submit a full bug report,
...
Breakpoint 1, fancy_abort (
file=0xa6fa28 "../../gcc-svn/trunk/gcc/tree-outof-ssa.c", line=228,
function=0xa6ff50 "insert_value_copy_on_edge")
at ../../gcc-svn/trunk/gcc/diagnostic.c:727
727 {
(gdb) bt
#0 fancy_abort (file=0xa6fa28 "../../gcc-svn/trunk/gcc/tree-outof-ssa.c",
line=228, function=0xa6ff50 "insert_value_copy_on_edge")
at ../../gcc-svn/trunk/gcc/diagnostic.c:727
#1 0x000000000076b1a5 in insert_value_copy_on_edge (e=0x2b72551e7040, dest=1,
src=0x2b7255135c58, locus=147)
at ../../gcc-svn/trunk/gcc/tree-outof-ssa.c:228
#2 0x000000000076c835 in eliminate_phi (e=0x2b72551e7040, g=0x102c9f0)
at ../../gcc-svn/trunk/gcc/tree-outof-ssa.c:678
#3 0x000000000076cf94 in expand_phi_nodes (sa=0xd8b820)
at ../../gcc-svn/trunk/gcc/tree-outof-ssa.c:840
#4 0x00000000004bd201 in gimple_expand_cfg ()
at ../../gcc-svn/trunk/gcc/cfgexpand.c:3585
#5 0x0000000000677919 in execute_one_pass (pass=0xd4d5e0)
at ../../gcc-svn/trunk/gcc/passes.c:1543
(gdb) up
#1 0x000000000076b1a5 in insert_value_copy_on_edge (e=0x2b72551e7040, dest=1,
src=0x2b7255135c58, locus=147)
at ../../gcc-svn/trunk/gcc/tree-outof-ssa.c:228
228 gcc_assert (dest_mode == GET_MODE (SA.partition_to_pseudo[dest]));
(gdb) p dest_mode
$1 = DImode
(gdb) p SA.partition_to_pseudo[dest]
$2 = (rtx) 0x2b72551df240
(gdb) p debug_rtx (SA.partition_to_pseudo[dest])
(mem/c/i:SI (plus:DI (reg/f:DI 65 virtual-stack-vars)
(const_int 4 [0x4])) [0 i+0 S4 A32])
$3 = void
This is reproductable with a cross to alpha-linux-elf.
--
Summary: ICE in insert_value_copy_on_edge, at tree-outof-
ssa.c:228
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ubizjak at gmail dot com
GCC build triplet: x86_64-pc-linux-gnu
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42341
More information about the Gcc-bugs
mailing list