From e300c78c25b7afa6ebf258572c015cccb4897e38 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 18 Nov 2002 12:12:24 +0000 Subject: [PATCH] sh.md (initialize_trampoline): Do not force the trampoline address into R0_REGS here. * config/sh/sh.md (initialize_trampoline): Do not force the trampoline address into R0_REGS here. From-SVN: r59211 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.md | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 63caf1d7ca2..7e810c52af8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-11-18 Richard Sandiford + + * config/sh/sh.md (initialize_trampoline): Do not force the + trampoline address into R0_REGS here. + 2002-11-17 Kazu Hirata * df.c: Fix formatting. diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 95b140658fe..c945496a4fc 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -3572,9 +3572,8 @@ { rtx sfun, tramp; + tramp = force_reg (Pmode, operands[0]); sfun = force_reg (Pmode, gen_rtx_SYMBOL_REF (Pmode, \"__init_trampoline\")); - tramp = gen_rtx_REG (SImode, R0_REG); - emit_move_insn (tramp, operands[0]); emit_move_insn (gen_rtx_REG (SImode, R2_REG), operands[1]); emit_move_insn (gen_rtx_REG (SImode, R3_REG), operands[2]); -- 2.30.2