fixed or forbidden register spilled

Toshiyasu Morita tm@netcom.com
Fri Jun 4 02:12:00 GMT 1999


version: egcs-cvs (6/1/99)
   host: i386-linux
 target: sh-elf

GCC aborts when compiling a file:

[root@flash gcc]# ./xgcc -B./ -O2 -m4-single-only -ml -S -g foo.ii
foo.ii: In method `RDFXMLDataSourceImpl::RDFXMLDataSourceImpl()':
foo.ii:19137: fixed or forbidden register 0 (r0) was spilled for class 
R0_REGS.
foo.ii:19137: This may be due to a compiler bug or to impossible asm
foo.ii:19137: statements or clauses.
foo.ii:19137: This is the instruction:
(insn/i 478 469 480 (set (mem/s:SI (plus:SI (reg:SI 14 r14)
                (reg:SI 3 r3)) 0)
        (reg:SI 2 r2)) 121 {movsi_ie} (insn_list/j 468 (insn_list 477 (nil)))
    (expr_list:REG_DEAD (reg:SI 3 r3)
        (expr_list:REG_DEAD (reg:SI 2 r2)
            (nil))))

I have uploaded the file "foo.ii" to:

ftp://shell14.ba.best.com/pub.t/tm2/foo.ii

Toshi



More information about the Gcc-bugs mailing list