public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/21356] New: Dominance error after aggressive dead code elimination (cd_dce)
@ 2005-05-03 11:40 loki at gcc dot gnu dot org
  2005-05-03 16:00 ` [Bug tree-optimization/21356] [4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: loki at gcc dot gnu dot org @ 2005-05-03 11:40 UTC (permalink / raw)
  To: gcc-bugs

I have internal compiler error for the following c code:
int a;
void* p;

void foo (void)
{
  switch (a)
  {
    a0: case 0:   p = &&a1;
    a1: case 1:   p = &&a2;
    a2: default:  p = &&a1;
  }
  goto *p;
}

Command line:
gcc -c -O2 1.c

Output:
1.c: In function 'foo':
1.c:5: error: dominator of 1 should be 2, not 0
1.c:5: internal compiler error: in verify_dominators, at dominance.c:875
...

-- 
           Summary: Dominance error after aggressive dead code elimination
                    (cd_dce)
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: loki at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu-gcc


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21356


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-07-09 17:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-03 11:40 [Bug middle-end/21356] New: Dominance error after aggressive dead code elimination (cd_dce) loki at gcc dot gnu dot org
2005-05-03 16:00 ` [Bug tree-optimization/21356] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-07-06 13:23 ` pinskia at gcc dot gnu dot org
2005-07-06 14:06 ` dberlin at dberlin dot org
2005-07-07  6:57 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2005-07-08 20:53 ` dnovillo at gcc dot gnu dot org
2005-07-08 21:01 ` dnovillo at gcc dot gnu dot org
2005-07-09 17:35 ` cvs-commit at gcc dot gnu dot org
2005-07-09 17:38 ` dnovillo 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).