public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: mia@de.uu.net
To: gcc-gnats@gcc.gnu.org
Subject: optimization/7792: ICE with -march=athlon-xp -O2
Date: Sat, 31 Aug 2002 14:16:00 -0000	[thread overview]
Message-ID: <20020831170444.16186.qmail@sources.redhat.com> (raw)


>Number:         7792
>Category:       optimization
>Synopsis:       ICE with -march=athlon-xp -O2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 31 10:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Michael van Acken
>Release:        gcc version 3.1
>Organization:
>Environment:
OS: Linux 2.4.19
CPU: Athlon XP
>Description:
gcc aborts when both -march=athlon-xp -O2 are set:

/tmp$ ~/local/gcc-3.1/bin/gcc -march=athlon-xp -O2 -c t.c
t.c: In function `FFT':
t.c:48: Internal compiler error in ix86_secondary_memory_needed, at config/i386/i386.c:12251
>How-To-Repeat:
run `gcc -march=athlon-xp -O2 -c t.c' on the attached file
>Fix:
removing either one of two options -march=athlon-xp -O2 
avoids the crash 
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="t.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="t.c"

dHlwZWRlZiBzdHJ1Y3QgQ29tcGxleCB7CglmbG9hdCByZSwgaW07Cn0gY29tcGxleDsKCiNkZWZp
bmUgdXNlY29tcGxleGxpYiAwCgpzdGF0aWMgdW5zaWduZWQgaW50IG9yZGVyPTAsIGNvc2luYzsK
ZmxvYXQgKiBzaW50Ymw7Cgp2b2lkCkZGVChjb21wbGV4ICogYSwgdW5zaWduZWQgaW50IG4sIHVu
c2lnbmVkIGNoYXIgZndkKQp7Cgl1bnNpZ25lZCBpbnQgaWR4LCBpZHhzdGVwLCBpLCBpMiwgaiwg
aywgbTsKCWNvbXBsZXggYiwgdywgYWksIGFpMjsKCgkvKmlmIChvcmRlciE9MipuKSBHZW5UYWJs
ZSgyKm4pOwoKCUJpdFJldihhLCBuKTsqLwoKCWs9MTsgaWR4c3RlcCA9IDIqbjsKCXdoaWxlIChr
PG4pIHsKCQltID0gazsKCQlrICo9IDI7IGlkeHN0ZXAgLz0gMjsKCQlqID0gMDsgaWR4ID0gMDsK
CQl3aGlsZSAoajxtKSB7CgkJCS8qIGNzZXQodywgc2ludGJsW2lkeCtjb3NpbmNdLCBzaW50Ymxb
aWR4XSpmd2Q/LTE6MSk7ICovCgkJCXcucmU9c2ludGJsW2lkeCtjb3NpbmNdOwoJCQl3LmltPS1z
aW50YmxbaWR4XTsgaWYgKCFmd2QpIHcuaW09LXcuaW07CgkJCWkgPSBqOwoJCQl3aGlsZSAoaTxu
KSB7CgkJCQlpMiA9IGkrbTsKCQkJCWFpMj1hW2kyXTsgYWk9YVtpXTsKCQkJCWIucmU9dy5yZSph
aTIucmUtdy5pbSphaTIuaW07CgkJCQliLmltPXcucmUqYWkyLmltK3cuaW0qYWkyLnJlOwoJCQkJ
YVtpMl0ucmU9YWkucmUtYi5yZTsgYVtpMl0uaW09YWkuaW0tYi5pbTsKCQkJCWFbaV0ucmU9YWku
cmUrYi5yZTsgIGFbaV0uaW09YWkuaW0rYi5pbTsKCQkJCWkgPSBpICsgazsKCQkJfTsgLyogZm9y
IGkqLwoJCQlqID0gaiArIDE7CgkJCWlkeCA9IGlkeCArIGlkeHN0ZXA7CgkJfTsgLyogZm9yIGog
Ki8KCX07IC8qIGZvciBrICovCgoJaWYgKCFmd2QpCgkJZm9yIChpPTA7IGk8bjsgaSsrKSB7CgkJ
CWFbaV0ucmUgLz0gbjsgYVtpXS5pbSAvPSBuOwoJCX0KfQo=


             reply	other threads:[~2002-08-31 17:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-31 14:16 mia [this message]
2002-10-03  9:36 hubicka
2002-10-09 10:14 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=20020831170444.16186.qmail@sources.redhat.com \
    --to=mia@de.uu.net \
    --cc=gcc-gnats@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).