egcs-20000511 i686-pc-linux-gnu g77 ICE with -ffast-math

N8TM@aol.com N8TM@aol.com
Thu May 11 16:56:00 GMT 2000


The attached simplified version of saxpy.f from LAPACK-3.0 fails when 
compiled with today's snapshot, but works fine with gcc-2.95.2.  The bug 
appears to be triggered by the comparison against 0. which is done only to 
speed up that special case.

g77 version 2.96 20000511 (experimental) (from FSF-g77 version 0.5.25 
20000511 (experimental))
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.96/specs
gcc version 2.96 20000511 (experimental)
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.96/f771 test.f -quiet -dumpbase 
test.f -march=pentiumpro -O -version -fversion -ffast-math -o - |
 as -V -Qy -o test.o -
GNU F77 version 2.96 20000511 (experimental) (i686-pc-linux-gnu) compiled by 
GNU C version 2.96 20000511 (experimental).
GNU Fortran Front End version 0.5.25 20000511 (experimental)
test.f: In subroutine `saxpy':
test.f:20: Internal compiler error in `gen_reg_rtx', at emit-rtl.c:538
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
GNU assembler version 2.9.1 (i386-linux), using BFD version 2.9.1.0.21

Tim
tprince@computer.org


More information about the Gcc-bugs mailing list