i386-linux sans SMALL_REGISTER_CLASSES
Toshiyasu Morita
tm@netcom.com
Wed Nov 25 18:37:00 GMT 1998
version: egcs-19981122
host: i386-linux
config: ./configure (config/i386/i386.h sans SMALL_REGISTER_CLASSES)
I've atttempted to bootstrap without SMALL_REGISTER_CLASSES as
requestioned; compiler crashes when bootstrapping during stage1 on
cccp.c; here's the relevant section:
make CC="stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnulibc1/bin/"
CFLAGS="-W -Wall -O2 -g -O2" LDFLAGS="" libdir=/usr/local/lib
STAGE_PREFIX=stage1/ LANGUAGES="c proto gcov CHILL"
stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnulibc1/bin/
-DIN_GCC -DUSE_GNULIBC_1 -W -Wall -O2 -g -O2 -DHAVE_CONFIG_H -I.
-I. -I./config -I./../include \
-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.92.23/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.92.23/../../../..`echo /usr/local | sed -e 's|^/usr/local||' -e 's|/[^/]*|/..|g'`/include/g++-\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.92.23/../../../../i686-pc-linux-gnulibc1/sys-include\" \
-DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.92.23/../../../../i686-pc-linux-gnulibc1/include\" \
-c `echo ./cccp.c | sed 's,^\./,,'`
cccp.c: In function `main':
cccp.c:2223: warning: comparison between signed and unsigned
cccp.c: In function `rescan':
cccp.c:2624: warning: `c' might be used uninitialized in this function
cccp.c: In function `finclude':
cccp.c:5309: warning: comparison between signed and unsigned
cccp.c: In function `check_precompiled':
cccp.c:5432: warning: comparison between signed and unsigned
cccp.c: In function `pass_thru_directive':
cccp.c:5722: warning: comparison between signed and unsigned
cccp.c: In function `hashf':
cccp.c:9891: fixed or forbidden register 0 (ax) was spilled for class AREG.
cccp.c:9891: This may be due to a compiler bug or to impossible asm
cccp.c:9891: statements or clauses.
cccp.c:9891: This is the instruction:
(insn 44 42 45 (parallel[
(set (reg:SI 1 %edx)
(div:SI (reg/v:SI 2 %ecx)
(reg/v:SI 4 %esi)))
(set (reg/i:SI 0 %eax)
(mod:SI (reg/v:SI 2 %ecx)
(reg/v:SI 4 %esi)))
] ) 184 {divmodsi4} (insn_list 41 (nil))
(expr_list:REG_DEAD (reg/v:SI 2 %ecx)
(expr_list:REG_UNUSED (reg:SI 1 %edx)
(expr_list:REG_DEAD (reg/v:SI 4 %esi)
(nil)))))
toplev.c:1390: Internal compiler error in function fatal_insn
make[2]: *** [cccp.o] Error 1
make[1]: *** [bootstrap] Error 2
make: *** [bootstrap] Error 2
Toshi
More information about the Gcc-bugs
mailing list