public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: reichelt@igpm.rwth-aachen.de
To: gcc-gnats@gcc.gnu.org
Cc: spigel@olvs.miee.ru
Subject: optimization/7134: Athlon: ICE in extract_insn, at recog.c:2130
Date: Wed, 26 Jun 2002 10:56:00 -0000	[thread overview]
Message-ID: <20020626152653.12155.qmail@sources.redhat.com> (raw)


>Number:         7134
>Category:       optimization
>Synopsis:       Athlon: ICE in extract_insn, at recog.c:2130
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 26 08:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Volker Reichelt
>Release:        gcc 3.2 20020617
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
The following code causes an ICE when compiled with
"gcc -march=athlon -O -c":

--------------------------snip here----------------------
void foo ()
{
  int i, n;

  for ( i=0; i<n; ++i )
    i=n^128;
}
--------------------------snip here----------------------

The error message is:

bug.c: In function `foo':
bug.c:7: error: unrecognizable insn:
(insn 53 57 54 1 (nil) (parallel [
            (set (strict_low_part (reg:QI 0 al [58]))
                (xor:QI (reg:QI 0 al [58])
                    (const_int -128 [0xffffff80])))
            (clobber (reg:CC 17 flags))
        ]) -1 (insn_list 57 (nil))
    (expr_list:REG_UNUSED (reg:CC 17 flags)
        (nil)))
bug.c:7: internal compiler error: Internal compiler error in extract_insn, at recog.c:2130
Please submit a full bug report, [etc.]

The example compiles fine with gcc 3.1.

The example was created from a file (psout.i) from a
bug report of Sergei Pachkov (see PR 7063).
>How-To-Repeat:
gcc -march=athlon -O -c bug.c
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2002-06-26 15:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-26 10:56 reichelt [this message]
2002-10-03  9:38 hubicka

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=20020626152653.12155.qmail@sources.redhat.com \
    --to=reichelt@igpm.rwth-aachen.de \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=spigel@olvs.miee.ru \
    /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).