aboutsummaryrefslogtreecommitdiff
path: root/gcc/reg-stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r--gcc/reg-stack.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c
index 0f1b6d5..d97a358 100644
--- a/gcc/reg-stack.c
+++ b/gcc/reg-stack.c
@@ -2275,13 +2275,7 @@ subst_asm_stack_regs (rtx_insn *insn, stack_ptr regstack)
int regnum = get_hard_regnum (regstack, clobber_reg[i]);
if (regnum >= 0)
- {
- /* Sigh - clobbers always have QImode. But replace_reg knows
- that these regs can't be MODE_INT and will assert. Just put
- the right reg there without calling replace_reg. */
-
- *clobber_loc[i] = FP_MODE_REG (regnum, DFmode);
- }
+ replace_reg (clobber_loc[i], regnum);
}
/* Now remove from REGSTACK any inputs that the asm implicitly popped. */