Bug 16863 - [new-ra] ICE: Didn't find a coloring in genmodes.c with -fnew-ra and optimization
Summary: [new-ra] ICE: Didn't find a coloring in genmodes.c with -fnew-ra and optimiza...
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: rtl-optimization (show other bugs)
Version: 4.0.0
: P2 minor
Target Milestone: 4.0.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks: 13246
  Show dependency treegraph
 
Reported: 2004-08-03 18:39 UTC by Václav Haisman
Modified: 2005-01-17 15:20 UTC (History)
2 users (show)

See Also:
Host: i386-unknown-freebsd4.10
Target: i386-unknown-freebsd4.10
Build: i386-unknown-freebsd4.10
Known to work:
Known to fail:
Last reconfirmed: 2004-08-03 19:09:41


Attachments
Preprocessed source. (13.00 KB, text/plain)
2004-08-03 18:40 UTC, Václav Haisman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Václav Haisman 2004-08-03 18:39:01 UTC
I tryed to bootstrap the compiler with CBOOT_FLAGS="-O3 -g -fnew-ra". It died on
genmodes.c in new_mode() as you can see bellow. Without -fnew-ra or with
-fnew-ra and -O0 it compiles. The preprocessed source is attached. I tryed to
make it smaller but the bug disappeared when I deleted any function.

wilx@logout:::~/tmp/gcc-head/objdir/gcc> stage1/xgcc -Bstage1/
-B/home/4/wilx/i386-unknown-freebsd4.10/bin/ -c   -O3 -g -fnew-ra -DIN_GCC   -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -fno-common 
 -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../srcdir/gcc
-I../../srcdir/gcc/. -I../../srcdir/gcc/../include
-I../../srcdir/gcc/../libcpp/include -I../../srcdir/gcc/../libbanshee/libcompat
-I../../srcdir/gcc/../libbanshee -I../../srcdir/gcc/../libbanshee/points-to 
../../srcdir/gcc/genmodes.c -save-temps -o genmodes.o
../../srcdir/gcc/genmodes.c: In function `new_mode':
../../srcdir/gcc/genmodes.c:173: internal compiler error: Didn't find a coloring.

Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Comment 1 Václav Haisman 2004-08-03 18:40:28 UTC
Created attachment 6873 [details]
Preprocessed source.
Comment 2 Václav Haisman 2004-08-03 18:48:10 UTC
And the configuratin was this:
../srcdir/configure --disable-nls --enable-version-specific-runtime-libs
--enable-dwarf2 --with-cpu=pentium3 --with-arch=pentium3 --with-system-zlib
--disable-shared --prefix=/home/4/wilx --enable-languages=c,c++,objc
--disable-sjlj-exceptions --enable-shared=libstdc++ --enable-shared=libobjc
--with-gc=zone
Comment 3 Andrew Pinski 2004-08-03 19:09:05 UTC
This works for me on i686-pc-linux-gnu with a compiler built from last night.
Comment 4 Andrew Pinski 2004-08-03 19:09:41 UTC
Confirming to ...
Comment 5 Andrew Pinski 2004-08-03 19:09:51 UTC
Suspending until either new-regalloc branch is merged to mainline, or bug is rechecked against 
new-regalloc branch.
Comment 6 Andrew Pinski 2005-01-17 15:20:49 UTC
Closing as wiill not fix as new-ra was removed from the mainline.