From 3cbdeb1f4840a1e6999c537864cd91223e85088e Mon Sep 17 00:00:00 2001 From: rsandifo Date: Mon, 18 Nov 2002 12:12:24 +0000 Subject: [PATCH] * config/sh/sh.md (initialize_trampoline): Do not force the trampoline address into R0_REGS here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59211 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 63caf1d..7e810c5 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 95b1406..c945496 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.7.4