public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/4432: ICE when using -march=k6 -O2
@ 2001-10-04 17:30 rodrigc
0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2001-10-04 17:30 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, lgb, nobody, reichelt
Synopsis: ICE when using -march=k6 -O2
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Thu Oct 4 17:30:09 2001
State-Changed-Why:
Fixed in gcc version 3.0.2 20011004 (prerelease)
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4432&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
* optimization/4432: ICE when using -march=k6 -O2
@ 2001-10-01 2:36 reichelt
0 siblings, 0 replies; 2+ messages in thread
From: reichelt @ 2001-10-01 2:36 UTC (permalink / raw)
To: gcc-gnats; +Cc: lgb
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]
>Number: 4432
>Category: optimization
>Synopsis: ICE when using -march=k6 -O2
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Mon Oct 01 02:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Volker Reichelt
>Release: gcc 3.0.1 and 3.0.2 20010924 (prerelease)
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
Compiling the following lines of code with -march=k6 -O2
using gcc version 3.0.2 20010924 (prerelease) will crash
the compiler:
int i, *p;
int f()
{
i;
*p = !i;
}
I get the following error message:
bug.c: In function `f':
bug.c:7: Unrecognizable insn:
(insn 36 18 25 (parallel[
(set (reg:SI 1 edx [45])
(const_int 0 [0x0]))
(clobber (reg:CC 17 flags))
] ) -1 (nil)
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil)))
bug.c:7: Internal compiler error in insn_default_length, at insn-attrtab.c:223
Please submit a full bug report, etc.
Remarks:
* I distilled this example from Gábor Lénárt's bug report
( http://gcc.gnu.org/ml/gcc-bugs/2001-09/msg00856.html ).
* The problem is probably related to PR 4415.
* It's a regression from gcc 3.0.
>How-To-Repeat:
gcc -O2 -march=k6 -c <filename>
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-10-04 17:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-04 17:30 optimization/4432: ICE when using -march=k6 -O2 rodrigc
-- strict thread matches above, loose matches on Subject: below --
2001-10-01 2:36 reichelt
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).