public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/12619] New: ICE with -fnew-ra on Pentium 4
@ 2003-10-15 3:44 coyote at coyotegulch dot com
2003-10-15 3:46 ` [Bug c/12619] " coyote at coyotegulch dot com
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: coyote at coyotegulch dot com @ 2003-10-15 3:44 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12619
Summary: ICE with -fnew-ra on Pentium 4
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: 3.4 20031008
I don't see any place to upload files... here's the gcc -v -save-temps output;
let me know where I should send the source and preprocessed files.
scott@Tycho:~/projects/coyotegulch/acovea$ gcc -v -save-temps -lm -lrt -DGCCGA
-O1 -o almabench -march=pentium4 -fno-merge-constants -fno-defer-pop
-fno-omit-frame-pointer -fno-cprop-registers -fcse-skip-blocks -fgcse
-fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop -fforce-mem
-fpeephole2 -fschedule-insns2 -fdelete-null-pointer-checks -finline-functions
-frename-registers -falign-jumps -falign-labels -falign-functions -funroll-loops
-funroll-all-loops -ffloat-store -fmove-all-movables -funit-at-a-time
-fpeel-loops -fnew-ra -funswitch-loops -fno-math-errno -fno-trapping-math
-ffinite-math-only -fno-signaling-nans -mfpmath=sse -mfpmath=sse,387 -mieee-fp
-malign-double almabench.c
Reading specs from /opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4/specs
Configured with: ../gcc-3.4-20031008/configure -prefix=/opt/gcc-3.4
--enable-shared --enable-threads=posix --enable-__cxa_atexit
Thread model: posix
gcc version 3.4 20031008 (experimental)
/opt/gcc-3.4/libexec/gcc/i686-pc-linux-gnu/3.4/cc1 -E -quiet -v -DGCCGA
almabench.c -march=pentium4 -mfpmath=sse -mfpmath=sse,387 -mieee-fp
-malign-double -fno-merge-constants -fno-defer-pop -fno-omit-frame-pointer
-fno-cprop-registers -fcse-skip-blocks -fgcse -fexpensive-optimizations
-fstrength-reduce -frerun-cse-after-loop -fforce-mem -fpeephole2
-fschedule-insns2 -fdelete-null-pointer-checks -finline-functions
-frename-registers -falign-jumps -falign-labels -falign-functions -funroll-loops
-funroll-all-loops -ffloat-store -fmove-all-movables -funit-at-a-time
-fpeel-loops -fnew-ra -funswitch-loops -fno-math-errno -fno-trapping-math
-ffinite-math-only -fno-signaling-nans -O1 -o almabench.i
ignoring nonexistent directory
"/opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/opt/gcc-3.4/include
/opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4/include
/usr/include
End of search list.
/opt/gcc-3.4/libexec/gcc/i686-pc-linux-gnu/3.4/cc1 -fpreprocessed almabench.i
-quiet -dumpbase almabench.c -march=pentium4 -mfpmath=sse -mfpmath=sse,387
-mieee-fp -malign-double -auxbase almabench -O1 -version -fno-merge-constants
-fno-defer-pop -fno-omit-frame-pointer -fno-cprop-registers -fcse-skip-blocks
-fgcse -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
-fforce-mem -fpeephole2 -fschedule-insns2 -fdelete-null-pointer-checks
-finline-functions -frename-registers -falign-jumps -falign-labels
-falign-functions -funroll-loops -funroll-all-loops -ffloat-store
-fmove-all-movables -funit-at-a-time -fpeel-loops -fnew-ra -funswitch-loops
-fno-math-errno -fno-trapping-math -ffinite-math-only -fno-signaling-nans -o
almabench.s
GNU C version 3.4 20031008 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 3.4 20031008 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
almabench.c: In function `planetpv':
almabench.c:307: internal compiler error: in remember_web_was_spilled, at
ra-build.c:2314
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/12619] ICE with -fnew-ra on Pentium 4
2003-10-15 3:44 [Bug c/12619] New: ICE with -fnew-ra on Pentium 4 coyote at coyotegulch dot com
@ 2003-10-15 3:46 ` coyote at coyotegulch dot com
2003-10-15 3:47 ` coyote at coyotegulch dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: coyote at coyotegulch dot com @ 2003-10-15 3:46 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12619
------- Additional Comments From coyote at coyotegulch dot com 2003-10-15 03:46 -------
Created an attachment (id=4935)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4935&action=view)
Source and preprocessed files for this bug
Contains .c, .s, and .i files
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/12619] ICE with -fnew-ra on Pentium 4
2003-10-15 3:44 [Bug c/12619] New: ICE with -fnew-ra on Pentium 4 coyote at coyotegulch dot com
2003-10-15 3:46 ` [Bug c/12619] " coyote at coyotegulch dot com
@ 2003-10-15 3:47 ` coyote at coyotegulch dot com
2003-10-15 17:51 ` [Bug optimization/12619] " pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: coyote at coyotegulch dot com @ 2003-10-15 3:47 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12619
------- Additional Comments From coyote at coyotegulch dot com 2003-10-15 03:47 -------
Okay, I found out where the files get attached... ;}
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12619] ICE with -fnew-ra on Pentium 4
2003-10-15 3:44 [Bug c/12619] New: ICE with -fnew-ra on Pentium 4 coyote at coyotegulch dot com
2003-10-15 3:46 ` [Bug c/12619] " coyote at coyotegulch dot com
2003-10-15 3:47 ` coyote at coyotegulch dot com
@ 2003-10-15 17:51 ` pinskia at gcc dot gnu dot org
2003-10-16 13:32 ` coyote at coyotegulch dot com
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-15 17:51 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12619
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |optimization
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12619] ICE with -fnew-ra on Pentium 4
2003-10-15 3:44 [Bug c/12619] New: ICE with -fnew-ra on Pentium 4 coyote at coyotegulch dot com
` (2 preceding siblings ...)
2003-10-15 17:51 ` [Bug optimization/12619] " pinskia at gcc dot gnu dot org
@ 2003-10-16 13:32 ` coyote at coyotegulch dot com
2003-10-16 13:34 ` coyote at coyotegulch dot com
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: coyote at coyotegulch dot com @ 2003-10-16 13:32 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12619
------- Additional Comments From coyote at coyotegulch dot com 2003-10-16 13:32 -------
The error persists in gcc 3.4 20031015. I have simplified the required options
to cause the error:
gcc -lm -lrt -DGCCGA -O1 -o almabench -march=pentium4 -fgcse -finline-functions
-fnew-ra almabench.c
Also, I get the same ICE on a C++ program, using slightly different options:
g++ -lrt -o fftbench -march=pentium4 -fno-inline -fnew-ra fftbench.cpp
In both cases, -fnew-ra is involved, as is -march=pentium4.
The above is a different program from the one provided with the initial bug
report. All programs that break are floating-point intensive. I will try to
reduce the size of these programs even more to find specific routines causing
the problem.
Output of -v -temps from the second compile is:
scott@Tycho:~/projects/coyotegulch/acovea$ g++ -v -save-temps -lm -lrt -DACOVEA
-o fftbench -march=pentium4 -fno-inline -fnew-ra fftbench.cpp
Reading specs from /opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4/specs
Configured with: ../gcc-3.4-20031015/configure -prefix=/opt/gcc-3.4
--enable-shared --enable-threads=posix --enable-__cxa_atexit
Thread model: posix
gcc version 3.4 20031015 (experimental)
/opt/gcc-3.4/libexec/gcc/i686-pc-linux-gnu/3.4/cc1plus -E -quiet -v
-D_GNU_SOURCE -DACOVEA fftbench.cpp -march=pentium4 -fno-inline -fnew-ra -o
fftbench.ii
ignoring nonexistent directory
"/opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4
/opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4/i686-pc-linux-gnu
/opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4/backward
/usr/local/include
/opt/gcc-3.4/include
/opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4/include
/usr/include
End of search list.
/opt/gcc-3.4/libexec/gcc/i686-pc-linux-gnu/3.4/cc1plus -fpreprocessed
fftbench.ii -quiet -dumpbase fftbench.cpp -march=pentium4 -auxbase fftbench
-version -fno-inline -fnew-ra -o fftbench.s
GNU C++ version 3.4 20031015 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 3.4 20031015 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
as -V -Qy -o fftbench.o fftbench.s
GNU assembler version 2.14.90.0.6 (i386-linux) using BFD version 2.14.90.0.6
20030820 Debian GNU/Linux
/opt/gcc-3.4/libexec/gcc/i686-pc-linux-gnu/3.4/collect2 --eh-frame-hdr -m
elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o fftbench /usr/lib/crt1.o
/usr/lib/crti.o /opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4/crtbegin.o
-L/opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4
-L/opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4/../../.. -lrt fftbench.o -lstdc++
-lm -lgcc_s -lgcc -lc -lgcc_s -lgcc
/opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4/crtend.o /usr/lib/crtn.o
The output files are attached.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12619] ICE with -fnew-ra on Pentium 4
2003-10-15 3:44 [Bug c/12619] New: ICE with -fnew-ra on Pentium 4 coyote at coyotegulch dot com
` (3 preceding siblings ...)
2003-10-16 13:32 ` coyote at coyotegulch dot com
@ 2003-10-16 13:34 ` coyote at coyotegulch dot com
2003-11-30 20:58 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: coyote at coyotegulch dot com @ 2003-10-16 13:34 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12619
------- Additional Comments From coyote at coyotegulch dot com 2003-10-16 13:34 -------
Created an attachment (id=4941)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4941&action=view)
Source and intermediate file for second instance of bug
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12619] ICE with -fnew-ra on Pentium 4
2003-10-15 3:44 [Bug c/12619] New: ICE with -fnew-ra on Pentium 4 coyote at coyotegulch dot com
` (4 preceding siblings ...)
2003-10-16 13:34 ` coyote at coyotegulch dot com
@ 2003-11-30 20:58 ` pinskia at gcc dot gnu dot org
2003-11-30 21:27 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-30 20:58 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |13246
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12619
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12619] ICE with -fnew-ra on Pentium 4
2003-10-15 3:44 [Bug c/12619] New: ICE with -fnew-ra on Pentium 4 coyote at coyotegulch dot com
` (5 preceding siblings ...)
2003-11-30 20:58 ` pinskia at gcc dot gnu dot org
@ 2003-11-30 21:27 ` pinskia at gcc dot gnu dot org
2004-04-08 21:03 ` [Bug optimization/12619] [new-ra] " 1319 at bot dot ru
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-30 21:27 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
Target Milestone|--- |3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12619
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12619] [new-ra] ICE with -fnew-ra on Pentium 4
2003-10-15 3:44 [Bug c/12619] New: ICE with -fnew-ra on Pentium 4 coyote at coyotegulch dot com
` (6 preceding siblings ...)
2003-11-30 21:27 ` pinskia at gcc dot gnu dot org
@ 2004-04-08 21:03 ` 1319 at bot dot ru
2004-04-08 21:15 ` pinskia at gcc dot gnu dot org
2005-01-17 15:25 ` [Bug rtl-optimization/12619] " pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: 1319 at bot dot ru @ 2004-04-08 21:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From 1319 at bot dot ru 2004-04-08 21:02 -------
Fixed on new-regalloc-branch:
$ /usr/local/gcc-RA/bin/gcc -O1 -march=pentium4 -fgcse -finline-functions
-fnew-ra -S almabench.i
[snip off debug information about 47 spilled registers]
$
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12619
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/12619] [new-ra] ICE with -fnew-ra on Pentium 4
2003-10-15 3:44 [Bug c/12619] New: ICE with -fnew-ra on Pentium 4 coyote at coyotegulch dot com
` (7 preceding siblings ...)
2004-04-08 21:03 ` [Bug optimization/12619] [new-ra] " 1319 at bot dot ru
@ 2004-04-08 21:15 ` pinskia at gcc dot gnu dot org
2005-01-17 15:25 ` [Bug rtl-optimization/12619] " pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-08 21:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-08 21:15 -------
Keeping this one suspended as it is fixed on the new-ra brnach, thanks Serge Belyshev for testing.
--
What |Removed |Added
----------------------------------------------------------------------------
Version|3.4.0 |new-ra
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12619
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/12619] [new-ra] ICE with -fnew-ra on Pentium 4
2003-10-15 3:44 [Bug c/12619] New: ICE with -fnew-ra on Pentium 4 coyote at coyotegulch dot com
` (8 preceding siblings ...)
2004-04-08 21:15 ` pinskia at gcc dot gnu dot org
@ 2005-01-17 15:25 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-17 15:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-17 15:19 -------
Closing as wiill not fix as new-ra was removed from the mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |RESOLVED
Resolution| |WONTFIX
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12619
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2005-01-17 15:19 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-15 3:44 [Bug c/12619] New: ICE with -fnew-ra on Pentium 4 coyote at coyotegulch dot com
2003-10-15 3:46 ` [Bug c/12619] " coyote at coyotegulch dot com
2003-10-15 3:47 ` coyote at coyotegulch dot com
2003-10-15 17:51 ` [Bug optimization/12619] " pinskia at gcc dot gnu dot org
2003-10-16 13:32 ` coyote at coyotegulch dot com
2003-10-16 13:34 ` coyote at coyotegulch dot com
2003-11-30 20:58 ` pinskia at gcc dot gnu dot org
2003-11-30 21:27 ` pinskia at gcc dot gnu dot org
2004-04-08 21:03 ` [Bug optimization/12619] [new-ra] " 1319 at bot dot ru
2004-04-08 21:15 ` pinskia at gcc dot gnu dot org
2005-01-17 15:25 ` [Bug rtl-optimization/12619] " 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).