public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/5887: Internal compiler error in extract_insn
@ 2002-03-08 10:46 roman
0 siblings, 0 replies; 2+ messages in thread
From: roman @ 2002-03-08 10:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 5887
>Category: optimization
>Synopsis: Internal compiler error in extract_insn
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Fri Mar 08 10:46:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Roman Dudek
>Release: 3.2 20020303 (experimental)
>Organization:
>Environment:
System: Linux redhat 2.4.9-13SGI_XFS_1.0.2 #1 Thu Nov 15 11:38:50 CST 2001 i686 unknown
Architecture: i686
<machine, os, target, libraries (multiple lines)>
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure : (reconfigured) ./configure --prefix /usr/bin : (reconfigured) ./configure --prefix=/usr : (reconfigured) ./configure --prefix=/usr
>Description:
compiling the attached code witth:
gcc bug1.cpp -O3 -msse -ffast-math
the comiler reports internal error:
bug1.cpp: In function `void fillLookup(char*)':
bug1.cpp:23: unrecognizable insn:
(insn 275 274 276 (set (reg:CCFP 17 flags)
(compare:CCFP (reg:SF 21 exmm0 [78])
(mem/f:SF (plus:SI (reg/f:SI 6 ebp)
(const_int -268 [0xfffffef4])) [3 S4 A32]))) -1 (nil)
(nil))
bug1.cpp:23: Internal compiler error in extract_insn, at recog.c:2131
>How-To-Repeat:
compiling the attached code witth:
gcc bug1.cpp -O3 -msse -ffast-math
>Fix:
Workaround: reduce optimization for this file
(dropping -ffast-math prevents the bug)
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bug1.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug1.cpp"
ZmxvYXQgR2V0U2NhbGUoZmxvYXQmIGEsIGZsb2F0JiBiKQp7CglhID0gMC4yNWY7CgliID0gMC43
NWY7Cn0KCnZvaWQgZmlsbExvb2t1cChjaGFyKiBsb29rdXApCnsKICAgIGZsb2F0IHgsIGR4Owog
ICAgR2V0U2NhbGUoeCwgZHgpOwoJY2hhciBhdXhbMjU2XTsKICAgIGZvcihpbnQgaSA9IDA7IGkg
PCAyNTY7IGkrKykKICAgIHsKCQlmbG9hdCB2ID0geDsKCQlpZih2IDwgMC4wZikgdiA9IDAuMGY7
CgkJaWYodiA8IDI1NS4wZikgdiA9IDI1NS4wZjsKCQlhdXhbaV0gPSBpbnQodik7CgkJeCArPSBk
eDsKICAgIH0KCQoJZm9yKGludCBqID0gMDsgaiA8IDI1NjsgaisrKSAKCQlsb29rdXBbal0gPSBh
dXhbal07Cn0KCgo=
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: optimization/5887: Internal compiler error in extract_insn
@ 2002-04-20 12:44 rodrigc
0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-04-20 12:44 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, roman
Synopsis: Internal compiler error in extract_insn
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Apr 20 12:44:18 2002
State-Changed-Why:
Fixed in latest snapshots.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5887
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-20 19:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-08 10:46 optimization/5887: Internal compiler error in extract_insn roman
2002-04-20 12:44 rodrigc
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).