[Bug c/12474] New: unable to find a register to spill in class `FLOAT_REGS'

gcc at jochen-kuepper dot de gcc-bugzilla@gcc.gnu.org
Wed Oct 1 08:56:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12474

           Summary: unable to find a register to spill in class `FLOAT_REGS'
           Product: gcc
           Version: 3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc at jochen-kuepper dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-redhat-linux
  GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux

When compiling current numarray using '-march=pentium4' I get the following error:

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IInclude/numarray
-I/usr/include/python2.2 -c Src/_ufuncComplex32module.c -o
build/temp.linux-i686-2.2/_ufuncComplex32module.o -g -march=pentium4 -pipe -Wall
Src/_ufuncComplex32module.c: In function `multiply_Complex32_reduce':
Src/_ufuncComplex32module.c:401: unable to find a register to spill in class
`FLOAT_REGS'
Src/_ufuncComplex32module.c:401: this is the insn:
(insn 65 63 67 (set (reg/v:DF 10 st(2) [74])
        (float_extend:DF (subreg:SF (reg/v:DI 21 rxmm0 [71]) 0))) 133
{*extendsfdf2_1} (nil)
    (nil))
Src/_ufuncComplex32module.c:401: confused by earlier errors, bailing out


Using '-march=pentium3' instead does work fine.

The computer is a Pentium 4, however

> cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 0
model name      : Intel(R) Pentium(R) 4 CPU 1500MHz
stepping        : 10
cpu MHz         : 1495.482
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
sep_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 cflush dtrace acpi mmx fxsr sse xmm2 ssnp 28 acc
bogomips        : 2981.88

The compiler was build according to the following

> gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

I'll try to upload the preprocessed file right after this (if possible),
otherwise feel free to contact me to ask for it.



More information about the Gcc-bugs mailing list