public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/13232] New: ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra
@ 2003-11-29 15:10 coyote at coyotegulch dot com
2003-11-29 15:14 ` [Bug c/13232] " coyote at coyotegulch dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: coyote at coyotegulch dot com @ 2003-11-29 15:10 UTC (permalink / raw)
To: gcc-bugs
The attached program generates an ICE, as follows:
scott@Tycho$ gcc -c -std=gnu99 -O3 -march=pentium4 -fnew-ra gcc-ice3.c
gcc-ice3.c: In function `planetpv':
gcc-ice3.c:29: internal compiler error: in subst_stack_regs_pat, at reg-stack.c:1580
Note comments in gcc-ice3.c. Initializing "k" elimintaes the ICE, as does
rewriting the loop from an infinite while to a do... while.
--
Summary: ICE in remember_web_was_spilled with -O3 -march=pentium4
-fnew-ra
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: coyote at coyotegulch dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux
GCC host triplet: i686-pc-linux
GCC target triplet: i686-pc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13232
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/13232] ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra
2003-11-29 15:10 [Bug c/13232] New: ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra coyote at coyotegulch dot com
@ 2003-11-29 15:14 ` coyote at coyotegulch dot com
2003-11-29 20:25 ` [Bug optimization/13232] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: coyote at coyotegulch dot com @ 2003-11-29 15:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From coyote at coyotegulch dot com 2003-11-29 15:14 -------
Created an attachment (id=5232)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5232&action=view)
Porgram to generate the ICE
Admittedly, the troublesome loop is poorly written, although the code is valid
in syntax. This example is severely reduced from a hundred-line function, so
the code itself is completely meaningless. This was the minimal example I could
find, and it includes commented-out variations that eliminate the ICE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13232
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/13232] ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra
2003-11-29 15:10 [Bug c/13232] New: ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra coyote at coyotegulch dot com
2003-11-29 15:14 ` [Bug c/13232] " coyote at coyotegulch dot com
@ 2003-11-29 20:25 ` pinskia at gcc dot gnu dot org
2003-11-30 20:51 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-29 20:25 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |matz at suse dot de
|dot org |
Status|UNCONFIRMED |ASSIGNED
Component|c |optimization
Keywords| |ice-on-valid-code
Summary|ICE in |ICE in
|remember_web_was_spilled |remember_web_was_spilled
|with -O3 -march=pentium4 - |with -O3 -march=pentium4 -
|fnew-ra |fnew-ra
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13232
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/13232] ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra
2003-11-29 15:10 [Bug c/13232] New: ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra coyote at coyotegulch dot com
2003-11-29 15:14 ` [Bug c/13232] " coyote at coyotegulch dot com
2003-11-29 20:25 ` [Bug optimization/13232] " pinskia at gcc dot gnu dot org
@ 2003-11-30 20:51 ` pinskia at gcc dot gnu dot org
2003-11-30 21:25 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-30 20:51 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |13246
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13232
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/13232] ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra
2003-11-29 15:10 [Bug c/13232] New: ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra coyote at coyotegulch dot com
` (2 preceding siblings ...)
2003-11-30 20:51 ` pinskia at gcc dot gnu dot org
@ 2003-11-30 21:25 ` pinskia at gcc dot gnu dot org
2004-03-24 8:05 ` [Bug optimization/13232] [new-ra] " 1319 at bot dot ru
2004-03-24 15:53 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-30 21:25 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13232
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/13232] [new-ra] ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra
2003-11-29 15:10 [Bug c/13232] New: ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra coyote at coyotegulch dot com
` (3 preceding siblings ...)
2003-11-30 21:25 ` pinskia at gcc dot gnu dot org
@ 2004-03-24 8:05 ` 1319 at bot dot ru
2004-03-24 15:53 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: 1319 at bot dot ru @ 2004-03-24 8:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From 1319 at bot dot ru 2004-03-24 08:05 -------
I cannot reproduce this bug neither with current new RA nor current 3.4.0,
probably because of #include's in testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13232
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/13232] [new-ra] ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra
2003-11-29 15:10 [Bug c/13232] New: ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra coyote at coyotegulch dot com
` (4 preceding siblings ...)
2004-03-24 8:05 ` [Bug optimization/13232] [new-ra] " 1319 at bot dot ru
@ 2004-03-24 15:53 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-24 15:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-24 15:53 -------
So closing as fixed, the problem is most likely caused either by glibc's headers or is already fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13232
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-03-24 15:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-29 15:10 [Bug c/13232] New: ICE in remember_web_was_spilled with -O3 -march=pentium4 -fnew-ra coyote at coyotegulch dot com
2003-11-29 15:14 ` [Bug c/13232] " coyote at coyotegulch dot com
2003-11-29 20:25 ` [Bug optimization/13232] " pinskia at gcc dot gnu dot org
2003-11-30 20:51 ` pinskia at gcc dot gnu dot org
2003-11-30 21:25 ` pinskia at gcc dot gnu dot org
2004-03-24 8:05 ` [Bug optimization/13232] [new-ra] " 1319 at bot dot ru
2004-03-24 15:53 ` pinskia at gcc dot gnu dot org
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).