This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/35664] unable to find a register to spill in class 'FP_REGS' (sparc-linux)
- From: "lacombar at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2010 04:34:45 -0000
- Subject: [Bug target/35664] unable to find a register to spill in class 'FP_REGS' (sparc-linux)
- References: <bug-35664-14137@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from lacombar at gmail dot com 2010-09-09 04:34 -------
Some random config of the linux kernel, as of 2.6.36-rc3 results on the
following
stat.c: In function 'show_stat':
stat.c:123:1: error: unable to find a register to spill in class 'FP_REGS'
stat.c:123:1: error: this is the insn:
(insn 43 49 50 3 stat.c:43 (set (reg:DI 281 [ D.14392_45->cpustat.user ])
(mem/s:DI (plus:SI (reg:SI 25 %i1 [orig:500 __ptr ] [500])
(reg:SI 15 %o7 [orig:128 D.16865 ] [128])) [7
D.14392_45->cpustat.user+0 S8 A64])) 46 {*movdi_insn_sp32} (expr_list:REG_EQUIV
(mem/s:DI (plus:SI (reg:SI 25 %i1 [orig:500 __ptr ] [500])
(reg:SI 15 %o7 [orig:128 D.16865 ] [128])) [7
D.14392_45->cpustat.user+0 S8 A64])
(nil)))
the (already) attached testcase still fails with gcc 4.5.2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35664