I get this ICE while bootstrapping with those two -f* options. I didn't try any other combination of these. Preprocessed source is attached. logout ~/tmp/gcc34/objdir/gcc>stage1/xgcc -Bstage1/ -B/home/4/wilx/i386-unknown-freebsd4.9/bin/ -c -O2 -g -fnew-ra -ftracer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -Werror -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../srcdir/gcc -I../../srcdir/gcc/. -I../../srcdir/gcc/../include genmodes.i -o genmodes.o -v Reading specs from stage1/specs Configured with: ../srcdir/configure --disable-nls --enable-version-specific-runtime-libs --enable-dwarf2 --with-cpu=i686 --with-arch=i686 --with-system-zlib --disable-shared --prefix=/home/4/wilx --enable-languages=c,c++ --disable-sjlj-exceptions Thread model: posix gcc version 3.4 20031212 (experimental) stage1/cc1 -fpreprocessed genmodes.i -quiet -dumpbase genmodes.i -march=i686 -auxbase-strip genmodes.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -Werror -version -fnew-ra -ftracer -fno-common -o /home/4/wilx/tmp/tmp/ccYQ4ZNT.s GNU C version 3.4 20031212 (experimental) (i386-unknown-freebsd4.9) compiled by GNU C version 3.4 20031212 (experimental). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 ../../srcdir/gcc/genmodes.c: In function `hash_mode': ../../srcdir/gcc/genmodes.c:180: error: Abnormal edges for no purpose in bb 0 ../../srcdir/gcc/genmodes.c:180: internal compiler error: verify_flow_info failed Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Created attachment 5327 [details] Preprocessed source
It is the -fnew-ra option that makes it crash.
Here's a reduced testcase that crashes mainline with "gcc -O2 -fnew-ra" ============================================= int foo(); int bar() { return foo(); } void baz() { bar; } ============================================= The testcase compiles fine on the 3.3 branch.
New-ra is most likely not going to work with the mainline that well anyways, pushing to 3.5.
From Phil's regression hunter: Search converges between 2003-06-07-trunk (#306) and 2003-06 -08-trunk (#307).
Suspending until either new-regalloc branch is merged to mainline, or bug is rechecked against new-regalloc branch.
Closing as wiill not fix as new-ra was removed from the mainline.