public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "loki at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/21356] New: Dominance error after aggressive dead code elimination (cd_dce)
Date: Tue, 03 May 2005 11:40:00 -0000	[thread overview]
Message-ID: <20050503114028.21356.loki@gcc.gnu.org> (raw)

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


             reply	other threads:[~2005-05-03 11:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-03 11:40 loki at gcc dot gnu dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050503114028.21356.loki@gcc.gnu.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).