public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/42341] New: ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228
@ 2009-12-09 11:19 ubizjak at gmail dot com
2009-12-09 11:22 ` [Bug tree-optimization/42341] " ubizjak at gmail dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2009-12-09 11:19 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2632 bytes --]
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/42341] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228
2009-12-09 11:19 [Bug tree-optimization/42341] New: ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228 ubizjak at gmail dot com
@ 2009-12-09 11:22 ` ubizjak at gmail dot com
2009-12-09 11:35 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2009-12-09 11:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ubizjak at gmail dot com 2009-12-09 11:22 -------
Created an attachment (id=19264)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19264&action=view)
Object file that triggers the ICE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42341
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/42341] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228
2009-12-09 11:19 [Bug tree-optimization/42341] New: ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228 ubizjak at gmail dot com
2009-12-09 11:22 ` [Bug tree-optimization/42341] " ubizjak at gmail dot com
@ 2009-12-09 11:35 ` rguenth at gcc dot gnu dot org
2009-12-09 13:03 ` ubizjak at gmail dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-09 11:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-12-09 11:35 -------
How was the object file built? (I suppose this is simply a testsuite failure
of gcc.dg/lto/20090116?)
There was a dup for this for other archs I believe and the issue is
basically -Ox vs. -O0 compile which breaks some out-of-SSA invariants.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Keywords| |lto
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42341
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/42341] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228
2009-12-09 11:19 [Bug tree-optimization/42341] New: ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228 ubizjak at gmail dot com
2009-12-09 11:22 ` [Bug tree-optimization/42341] " ubizjak at gmail dot com
2009-12-09 11:35 ` rguenth at gcc dot gnu dot org
@ 2009-12-09 13:03 ` ubizjak at gmail dot com
2010-03-07 17:52 ` danglin at gcc dot gnu dot org
2010-04-23 15:51 ` rguenth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2009-12-09 13:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from ubizjak at gmail dot com 2009-12-09 13:03 -------
(In reply to comment #2)
> How was the object file built? (I suppose this is simply a testsuite failure
> of gcc.dg/lto/20090116?)
>
> There was a dup for this for other archs I believe and the issue is
> basically -Ox vs. -O0 compile which breaks some out-of-SSA invariants.
Yes, it was built with:
/home/uros/gcc-build-alpha/gcc/xgcc -B/home/uros/gcc-build-alpha/gcc/ -O1
-fwhopr -fPIC -c -o c_lto_20090116_0.o
/home/uros/gcc-svn/trunk/gcc/testsuite/gcc.dg/lto/20090116_0.c
(I'm not aware of any similar bugreport).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42341
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/42341] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228
2009-12-09 11:19 [Bug tree-optimization/42341] New: ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228 ubizjak at gmail dot com
` (2 preceding siblings ...)
2009-12-09 13:03 ` ubizjak at gmail dot com
@ 2010-03-07 17:52 ` danglin at gcc dot gnu dot org
2010-04-23 15:51 ` rguenth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu dot org @ 2010-03-07 17:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from danglin at gcc dot gnu dot org 2010-03-07 17:52 -------
gcc.dg/lto/20090116 fails on hppa64-hp-hpux11.11 as shown in #1.
--
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-03-07 17:52:40
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42341
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/42341] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228
2009-12-09 11:19 [Bug tree-optimization/42341] New: ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228 ubizjak at gmail dot com
` (3 preceding siblings ...)
2010-03-07 17:52 ` danglin at gcc dot gnu dot org
@ 2010-04-23 15:51 ` rguenth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-23 15:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2010-04-23 15:51 -------
*** This bug has been marked as a duplicate of 41159 ***
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42341
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-04-23 15:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-09 11:19 [Bug tree-optimization/42341] New: ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228 ubizjak at gmail dot com
2009-12-09 11:22 ` [Bug tree-optimization/42341] " ubizjak at gmail dot com
2009-12-09 11:35 ` rguenth at gcc dot gnu dot org
2009-12-09 13:03 ` ubizjak at gmail dot com
2010-03-07 17:52 ` danglin at gcc dot gnu dot org
2010-04-23 15:51 ` rguenth at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).