Unable to find a register to spill in class `R0_REGS'

Toshiyasu Morita tm@netcom.com
Tue Apr 25 20:40:00 GMT 2000


The bug I reported a few months ago with R0 spilling on the Hitachi SH
architecture is still present in gcc CVS:

./xgcc -B./ -O2 -m4-single-only -ml -mhitachi -S imdecode.i

/imdecode.i: In function `ReadLABELImage':
./imdecode.i:30708: Unable to find a register to spill in class `R0_REGS'.
./imdecode.i:30708: This is the insn:
(insn 817 814 818 (set (reg/i:SI 0 r0)
        (mem/f:SI (plus:SI (reg:SI 14 r14)
                (reg:SI 8 r8)) 16)) 123 {movsi_ie} (nil)
    (expr_list:REG_DEAD (reg:SI 8 r8)
        (nil)))
./imdecode.i:30708: Internal compiler error in `spill_failure', at 
reload1.c:1825
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.


The file 'imdecode.i' is in stress-1.14 at:

ftp://shell14.ba.best.com/~tm2/stress-1.14.tar.gz


Toshi


More information about the Gcc-bugs mailing list