[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#224576: gcc-3.3: Cannot find register to spill, while compiling mirrordir



Package: gcc-3.3
Version: 1:3.3.3-0pre0
Severity: normal

When I try to build mirrordir, I get a compiler error as follows
(which is unfortunately hidden by libtool):

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DSYSCONFDIR=\"etc\" -O2 -Wall -MT parse.lo -MD -MP -MF .deps/parse.Tpo -c parse.c -o parse.o
parse.c: In function `op_assign':
parse.c:473: error: unable to find a register to spill in class `Q_REGS'
parse.c:473: error: this is the insn:
(insn:HI 273 653 274 17 0x4068b688 (set (mem:QI (plus:SI (subreg:SI (reg/v:DI 98) 0)
                (subreg:SI (reg/v:DI 85) 0)) [0 S1 A8])
        (subreg:QI (reg/v:DI 72) 0)) 47 {*movqi_1} (nil)
    (expr_list:REG_DEAD (reg/v:DI 72)
        (expr_list:REG_DEAD (reg/v:DI 98)
            (expr_list:REG_DEAD (reg/v:DI 85)
                (nil)))))
parse.c:473: confused by earlier errors, bailing out

Looking at the source, it doesn't seem to be doing anything strange
with asm; and the same compile works if I add -fPIC.

Here's the preprocessed source for parse.c:

Attachment: parse.i.bz2
Description: Preprocessed parse.i

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux frobnitz 2.6.0-test11 #1 Wed Dec 3 21:42:26 PST 2003 i686
Locale: LANG=en, LC_CTYPE=en (ignored: LC_ALL set to en_US.ISO-8859-1)

Versions of packages gcc-3.3 depends on:
ii  binutils                   2.14.90.0.7-3 The GNU assembler, linker and bina
ii  cpp-3.3                    1:3.3.3-0pre0 The GNU C preprocessor
ii  gcc-3.3-base               1:3.3.3-0pre0 The GNU Compiler Collection (base 
ii  libc6                      2.3.2.ds1-10  GNU C Library: Shared libraries an
ii  libgcc1                    1:3.3.3-0pre0 GCC support library

-- no debconf information


-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler@math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card

Reply to: