public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* latest CVS: ICE in reload compiling glibc's math tests
@ 1998-09-11 12:12 Zack Weinberg
  0 siblings, 0 replies; only message in thread
From: Zack Weinberg @ 1998-09-11 12:12 UTC (permalink / raw)
  To: egcs-bugs

The current CVS tree of egcs gets an ICE in reload when asked to test
libc's math-function test suite.  I get:

/usr/home/zack/glibc/bin/gcc -c t-coverage/math-double.c -o
  /usr/home/zack/gnudev/build/libc/testsuite/math-double.o -O2 -Wall
  -Wbad-function-cast -Wcast-align -Winline -Wpointer-arith
  -Wstrict-prototypes -Wwrite-strings -g -march=pentium -mcpu=pentium
  -momit-leaf-frame-pointer -pipe -Werror
../../../egcs/gcc/reload.c:4412: Internal compiler error in function find_reloads_toplev

/usr/home/zack/glibc/bin/gcc -c t-coverage/math-idouble.c -o 
  /usr/home/zack/gnudev/build/libc/testsuite/math-idouble.o -O2 -Wall
  -Wbad-function-cast -Wcast-align -Winline -Wpointer-arith
  -Wstrict-prototypes -Wwrite-strings -g -march=pentium -mcpu=pentium
  -momit-leaf-frame-pointer -pipe -Werror
../sysdeps/i386/fpu/bits/mathinline.h: In function `atan2_test':
../sysdeps/i386/fpu/bits/mathinline.h:361: `asm' needs too many reloads
../sysdeps/i386/fpu/bits/mathinline.h: In function `ldexp_test':
../sysdeps/i386/fpu/bits/mathinline.h:495: `asm' needs too many reloads
../sysdeps/i386/fpu/bits/mathinline.h: In function `pow_test':
../sysdeps/i386/fpu/bits/mathinline.h:376: `asm' needs too many reloads
../sysdeps/i386/fpu/bits/mathinline.h: In function `fmod_test':
../sysdeps/i386/fpu/bits/mathinline.h:365: `asm' needs too many reloads
../../../egcs/gcc/reload.c:4412: Internal compiler error in function find_reloads_toplev

I wouldn't be surprised if mathinline.h had incorrect asms in it, but
it may be related.  The math test is several thousand lines long, I
will try to find a small testcase.  (The only difference between
math-double.c and math-idouble.c is that the latter asks for inlined
math functions.)

Configuration information:
i586-pc-linux-gnu
egcs mainline as of 1 AM September 11, bootstrapped with egcs-1.0.3a
glibc mainline as of 1 AM September 11
binutils 2.9.1

zw


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-09-11 12:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-11 12:12 latest CVS: ICE in reload compiling glibc's math tests Zack Weinberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).