Bug 18622

Summary: [4.0 Regression] sparc64-linux bootstrap failure
Product: gcc Reporter: Debian GCC Maintainers <debian-gcc>
Component: targetAssignee: Eric Botcazou <ebotcazou>
Status: RESOLVED FIXED    
Severity: normal CC: gcc-bugs
Priority: P2 Keywords: build, ice-on-valid-code
Version: 4.0.0   
Target Milestone: 4.0.0   
Host: sparc64-linux Target: sparc64-linux
Build: sparc64-linux Known to work:
Known to fail: Last reconfirmed:
Attachments: preprocessed source

Description Debian GCC Maintainers 2004-11-23 07:54:40 UTC
HEAD 20041121 fails to build on sparc64-linux, configured with
--enable-languages=c,c++ sparc64-linux, built with CC='gcc-3.3 -m64' as the
bootstrap compiler on a current Debian unstable system.

  Matthias

stage1/xgcc -Bstage1/ -B/usr/local/sparc64-linux/bin/ -c   -g -O2 -DIN_GCC   -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -fno-common  
-DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -Ibuild -I../../src/gcc
-I../../src/gcc/build -I../../src/gcc/../include
-I../../src/gcc/../libcpp/include  \
 -o build/genautomata.o ../../src/gcc/genautomata.c
../../src/gcc/genautomata.c: In function 'write_automata':
../../src/gcc/genautomata.c:9501: internal compiler error: in
simplify_gen_subreg, at simplify-rtx.c:3779
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [build/genautomata.o] Error 1
make[2]: Leaving directory `/home/doko/gcc/4.0-64/gcc-4.0-4.0ds0/b2/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/home/doko/gcc/4.0-64/gcc-4.0-4.0ds0/b2/gcc'
make: *** [bootstrap] Error 2
Comment 1 Eric Botcazou 2004-11-23 08:24:46 UTC
Please attach a preprocessed testcase.
Comment 2 Debian GCC Maintainers 2004-11-23 09:06:51 UTC
Created attachment 7586 [details]
preprocessed source
Comment 3 Eric Botcazou 2004-11-23 09:08:57 UTC
Investigating.
Comment 4 Eric Botcazou 2004-11-28 13:37:19 UTC
simplify_gen_subreg was seriously shaken recently.  Would you mind updating and
trying again?
Comment 5 James A. Morrison 2004-11-30 12:29:36 UTC
My bootstrap is now building libjava on sparc64-linux.  I think this bug has
been fixed.
Comment 6 Eric Botcazou 2004-11-30 12:56:29 UTC
As per James' confirmation.