The following: void foo (void) { goto loop_entry; loop_start: loop_entry: goto loop_start; loop_exit: } compiles with just "-O" but segfaults with "-O -fssa" Normally I wouldn't give a s... about -fssa, but: a) this test case was deduced from gcc.dg/20020304-1.c which also ICEs on the tree-ssa branch on a sanity check after -fssa-ccp. This new ICE might be related, perhaps we just compute broken dominance information for RTL??? b) this ICE happens in tree-flow-inline.h according to gdb: Program received signal SIGSEGV, Segmentation fault. compute_dominance_frontiers_1 (frontiers=0x8627520, idom=0x8627610, bb=0, done=0x86275f8) at tree-flow-inline.h:270 270 tree-flow-inline.h: No such file or directory. in tree-flow-inline.h Weird to have a tree-ssa failure with RTL SSA, but in tree-ssa code!
This is a dup of bug 12650. *** This bug has been marked as a duplicate of 12650 ***