egcs-19990112 crash building glibc-2.0.109
Horst von Brand
vonbrand@sleipnir.valparaiso.cl
Thu Apr 1 00:00:00 GMT 1999
i586/UP, linux-2.2.0-pre6-ac2, haifa-enabled egcs-19990112,
binutils-2.9.1.0.19a
The build crashes with:
gcc ../sysdeps/libm-ieee754/s_casinf.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -march=pentium -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -Wno-uninitialized -Wno-write-strings -I../include -I. -I/usr/src/build/build-glibc-2.0.109/math -I.. -I../libio -I/usr/src/build/build-glibc-2.0.109 -I../sysdeps/i386/elf -I../crypt/sysdeps/unix -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386 -I../linuxthreads/sysdeps/pthread/no-cmpxchg -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i586 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/libm-i387 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysd!
eps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -D_LIBC_REENTRANT -include ../include/libc-symbols.h -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -o /usr/src/build/build-glibc-2.0.109/math/s_casinf.o
../sysdeps/libm-ieee754/s_casinf.c: In function `__casinf':
../sysdeps/libm-ieee754/s_casinf.c:61: fixed or forbidden register 0 (ax) was spilled for class AREG.
../sysdeps/libm-ieee754/s_casinf.c:61: This may be due to a compiler bug or to impossible asm
../sysdeps/libm-ieee754/s_casinf.c:61: statements or clauses.
../sysdeps/libm-ieee754/s_casinf.c:61: This is the instruction:
(insn 46 44 47 (parallel[
(set (cc0)
(compare:CCFPEQ (reg:DF 9 %st(1))
(reg:DF 8 %st(0))))
(clobber (scratch:HI))
] ) 32 {*cmpsf_cc_1-1} (insn_list 41 (insn_list 44 (nil)))
(expr_list:REG_DEAD (reg:DF 9 %st(1))
(expr_list:REG_DEAD (reg:DF 8 %st(0))
(expr_list:REG_UNUSED (scratch:HI)
(nil)))))
../../egcs-19990112/gcc/toplev.c:1397: Internal compiler error in function fatal_insn
Please submit a full bug report to `egcs-bugs@cygnus.com'.
See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
The same crash is exhibited by this snippet:
__complex__ float
__casinf(__complex__ float x)
{
if(__real__ x == 0.0)
return x;
}
egcs-2.91.60, 2.92.25, 2.92.27 work. 2.92.33 and 2.93.01 crash the same
way.
Hope this helps.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile +56 32 672616
More information about the Libc-alpha
mailing list