This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/35193] [4.3 Regression] can't find a register in class 'R1_REGS' while reloading 'asm'
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Feb 2008 18:10:39 -0000
- Subject: [Bug target/35193] [4.3 Regression] can't find a register in class 'R1_REGS' while reloading 'asm'
- References: <bug-35193-10464@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from danglin at gcc dot gnu dot org 2008-02-17 18:10 -------
Breakpoint 1, spill_failure (insn=0xea8a90, class=NO_REGS)
at ../../gcc/gcc/reload1.c:1986
1986 if (asm_noperands (PATTERN (insn)) >= 0)
(gdb) p debug_rtx ($r26)
(insn 963 1588 964 132
../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:220 (parallel [
(set (mem/v/c/i:SI (plus:SI (reg/f:SI 3 %r3)
(const_int 24 [0x18])) [3 lws_ret+0 S4 A64])
(asm_operands/v:SI ("0:
copy %3, %%r26
copy %4, %%r25
copy %5, %%r24
ble 0xb0(%%sr2, %%r0)
ldi 0, %%r20
cmpib,=,n 11,%%r21,0b
nop
stw %%r28, %0
sub %%r0, %%r21, %%r21
stw %%r21, %1
") ("=m") 0 [
(reg/f:SI 743)
(reg/f:SI 29 %r29 [orig:218 prephitmp.374 ] [218])
(reg:SI 19 %r19 [588])
]
[
(asm_input:SI ("r") 0)
(asm_input:SI ("r") 0)
(asm_input:SI ("r") 0)
] 333103))
(set (mem/v/c/i:SI (plus:SI (reg/f:SI 3 %r3)
(const_int 20 [0x14])) [3 lws_errno+0 S4 A32])
(asm_operands/v:SI ("0:
copy %3, %%r26
copy %4, %%r25
copy %5, %%r24
ble 0xb0(%%sr2, %%r0)
ldi 0, %%r20
cmpib,=,n 11,%%r21,0b
nop
stw %%r28, %0
sub %%r0, %%r21, %%r21
stw %%r21, %1
") ("=m") 1 [
(reg/f:SI 743)
(reg/f:SI 29 %r29 [orig:218 prephitmp.374 ] [218])
(reg:SI 19 %r19 [588])
]
[
(asm_input:SI ("r") 0)
(asm_input:SI ("r") 0)
(asm_input:SI ("r") 0)
] 333103))
(set (mem/c/i:SI (reg/f:SI 743) [3 lock+0 S4 A32])
(asm_operands/v:SI ("0:
copy %3, %%r26
copy %4, %%r25
copy %5, %%r24
ble 0xb0(%%sr2, %%r0)
ldi 0, %%r20
cmpib,=,n 11,%%r21,0b
nop
stw %%r28, %0
sub %%r0, %%r21, %%r21
stw %%r21, %1
") ("=m") 2 [
(reg/f:SI 743)
(reg/f:SI 29 %r29 [orig:218 prephitmp.374 ] [218])
(reg:SI 19 %r19 [588])
]
[
(asm_input:SI ("r") 0)
(asm_input:SI ("r") 0)
(asm_input:SI ("r") 0)
] 333103))
(clobber (mem:BLK (scratch) [0 A8]))
(clobber (reg:QI 31 %r31))
(clobber (reg:QI 28 %r28))
(clobber (reg:QI 20 %r20))
(clobber (reg:QI 21 %r21))
(clobber (reg:QI 22 %r22))
(clobber (reg:QI 23 %r23))
(clobber (reg:QI 24 %r24))
(clobber (reg:QI 25 %r25))
(clobber (reg:QI 26 %r26))
(clobber (reg:QI 1 %r1))
]) -1 (expr_list:REG_DEAD (reg:SI 19 %r19 [588])
(expr_list:REG_DEAD (reg/f:SI 29 %r29 [orig:218 prephitmp.374 ] [218])
(expr_list:REG_UNUSED (reg:QI 31 %r31)
(expr_list:REG_UNUSED (reg:QI 28 %r28)
(expr_list:REG_UNUSED (reg:QI 26 %r26)
(expr_list:REG_UNUSED (reg:QI 25 %r25)
(expr_list:REG_UNUSED (reg:QI 24 %r24)
(expr_list:REG_UNUSED (reg:QI 23 %r23)
(expr_list:REG_UNUSED (reg:QI 22 %r22)
(expr_list:REG_UNUSED (reg:QI 21 %r21)
(expr_list:REG_UNUSED (reg:QI 20
%r20)
(expr_list:REG_UNUSED (reg:QI 1
%r1)
(nil))))))))))))))
$4 = void
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35193