This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/35664] unable to find a register to spill in class 'FP_REGS' (sparc-linux)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]