This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/38793] New: SH: unable to find a register to spill in class 'R0_REGS'
- From: "masaki dot chikama at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jan 2009 13:26:15 -0000
- Subject: [Bug c/38793] New: SH: unable to find a register to spill in class 'R0_REGS'
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc4.3.3 snapshot fail to compile with this message.
ada-lex.l:456: error: unable to find a register to spill in class 'R0_REGS'
ada-lex.l:456: error: this is the insn:
(insn:HI 249 374 275 48 ada-lex.l:451 (set (mem:QI (plus:SI (reg/v/f:SI 12 r12
[
orig:174 value ] [174])
(reg:SI 2 r2 [orig:171 prephitmp.1236 ] [171])) [0 S1 A8])
(reg:QI 1 r1 [244])) 182 {movqi_i} (expr_list:REG_DEAD (reg:QI 1 r1
[244
])
(expr_list:REG_DEAD (reg/v/f:SI 12 r12 [orig:174 value ] [174])
(expr_list:REG_DEAD (reg:SI 2 r2 [orig:171 prephitmp.1236 ] [171])
(expr_list:REG_EQUAL (const_int 0 [0x0])
(nil))))))
ada-lex.l:456: confused by earlier errors, bailing out
Preprocessed source stored into /tmp/cccHZxYV.out file, please attach this to
yo
ur bugreport.
$ sh4-unknown-linux-gnu-gcc -v
Using built-in specs.
Target: sh4-unknown-linux-gnu
Configured with:
/home/chika/tmp/cross/gcc/crosstool-snv/targets/src/gcc-4.3.3/configure
--build=x86_64-unknown-linux-gnu --target=sh4-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu
--prefix=/home/chika/x-tools/sh4-unknown-linux-gnu
--with-sysroot=/home/chika/x-tools/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sys-root
--enable-languages=c,c++,fortran,java,objc,obj-c++ --disable-multilib
--with-gmp=/home/chika/x-tools/sh4-unknown-linux-gnu
--with-mpfr=/home/chika/x-tools/sh4-unknown-linux-gnu --enable-__cxa_atexit
--with-local-prefix=/home/chika/x-tools/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sys-root
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99
--enable-long-long --enable-target-optspace
Thread model: posix
gcc version 4.3.3 20090109 (prerelease) (GCC)
--
Summary: SH: unable to find a register to spill in class
'R0_REGS'
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: masaki dot chikama at gmail dot com
GCC target triplet: sh-*-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38793