I get

/usr/src/qemu-0.7.0/target-i386/ops_sse.h: In function �op_pshufw_mmx�:
/usr/src/qemu-0.7.0/target-i386/ops_sse.h:574: error: unable to find a register
to spill in class �GENERAL_REGS�
/usr/src/qemu-0.7.0/target-i386/ops_sse.h:574: error: this is the insn:
(insn:HI 18 17 19 0 /usr/src/qemu-0.7.0/target-i386/ops_sse.h:569 (set
(strict_low_part (subreg:HI (reg/v:DI 63 [ r ]) 0))
        (mem/s/j:HI (plus:SI (mult:SI (reg:SI 64)
                    (const_int 2 [0x2]))
                (reg/v/f:SI 59 [ s ])) [0 <variable>._w S2 A16])) 41
{*movstricthi_1} (insn_list:REG_DEP_TRUE 16 (insn_list:REG_DEP_TRUE 12
(insn_list:REG_DEP_TRUE 53 (nil))))
    (expr_list:REG_DEAD (reg:SI 64)
        (nil)))
/usr/src/qemu-0.7.0/target-i386/ops_sse.h:574: confused by earlier errors,
bailing out

when compiling

gcc -pipe -march=athlon-xp -Wall -save-temps -O2 -g -fno-strict-aliasing
-fomit-frame-pointer -mpreferred-stack-boundary=2 -falign-function
s=0 -fno-gcse -fno-reorder-blocks -fno-optimize-sibling-calls -I.
-I/usr/src/qemu-0.7.0/target-i386 -I/usr/src/qemu-0.7.0 -I/usr/src/qemu-0
.7.0/linux-user -I/usr/src/qemu-0.7.0/linux-user/i386 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/src/qemu-0.7.0/fpu -I
/usr/src/qemu-0.7.0/slirp -c -o op.o /usr/src/qemu-0.7.0/target-i386/op.c

(.i file attached)

# gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre 
--host=i386-redhat-linux
Thread model: posix
gcc version 4.0.0 20050606 (Red Hat 4.0.0-11)

-- 
           Summary: Unable to find a register to spill in C function - no
                    embedded asm
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: greenrd at greenrd dot org
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to