------- Comment #3 from ubizjak at gmail dot com 2009-10-04 08:06 ------- I have hit what looks as the same problem on alpha for gcc.dg/lto/20090116_0.c:
int foo(void) { int ret, i; for (i = 0; i < 1; i++) ret = 0; for (i = 0; i < 1; i++) ret = 1; return ret; } ~/gcc-build/gcc/xgcc -B ~/gcc-build/gcc/ -O1 -fwhopr -fPIC -c -o c_lto_20090116_0.o 20090116_0.c ~/gcc-build/gcc/xgcc -B ~/gcc-build/gcc/ c_lto_20090116_0.o -O1 -fwhopr -fPIC -shared -O0 -o gcc-dg-lto-20090116-01 In file included from :0:0: 20090116_0.c: In function 'foo': 20090116_0.c:5:5: internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:228 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41159