public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8993: ICE with -march=pentium4
@ 2002-12-19 15:03 bangerth
0 siblings, 0 replies; only message in thread
From: bangerth @ 2002-12-19 15:03 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, kain, nobody
Old Synopsis: ICE during VTK compile
New Synopsis: ICE with -march=pentium4
State-Changed-From-To: feedback->closed
State-Changed-By: bangerth
State-Changed-When: Thu Dec 19 15:03:33 2002
State-Changed-Why:
I got the source in private mail. After some deletions,
the ICE can be triggered with this simple piece of code:
------------------------------
void bar() {
float *p, *q, f;
if (*p)
*q = 0;
else
*q = f;
}
--------------------------
tmp/g> /home/bangerth/bin/gcc-3.2.2-pre/bin/c++ -c -march=pentium4 -O3 x.ii
x.ii: In function `void bar()':
x.ii:7: could not split insn
(insn 53 63 64 (set (reg:SF 23 exmm2 [62])
(if_then_else:SF (eq (mem:SF (reg/v/f:SI 0 eax [58]) [2 S4 A32])
(reg:SF 23 exmm2 [62]))
(reg/v:SF 22 exmm1 [60])
(const_double:SF 0 [0x0] 0 [0x0] 0 [0x0] 0 [0x0] 0 [0x0]))) 643 {*sse_movsfcc_const0_3} (insn_list 20 (nil))
(expr_list:REG_DEAD (reg/v:SF 22 exmm1 [60])
(nil)))
x.ii:7: Internal compiler error in final_scan_insn, at final.c:2622
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
It works on mainline, though. Since -march=pentium4 has
not existed in any prior version, this is not a regression
and I close it since it is apparently fixed in mainline.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8993
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-19 23:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-19 15:03 c++/8993: ICE with -march=pentium4 bangerth
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).