Bug 12652 - [tree-ssa] ICE in tree-flow-inline.h with "-O -fssa" but not with "-O"
Summary: [tree-ssa] ICE in tree-flow-inline.h with "-O -fssa" but not with "-O"
Status: RESOLVED DUPLICATE of bug 12650
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: tree-ssa
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-16 22:17 UTC by Steven Bosscher
Modified: 2005-07-23 22:49 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Bosscher 2003-10-16 22:17:40 UTC
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!
Comment 1 Andrew Pinski 2003-10-16 22:20:02 UTC
This is a dup of bug 12650.

*** This bug has been marked as a duplicate of 12650 ***