diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2002-11-18 12:12:24 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2002-11-18 12:12:24 +0000 |
commit | e300c78c25b7afa6ebf258572c015cccb4897e38 (patch) | |
tree | 07cd264ce8f758ef8b779562b1aea7687d87b0d8 | |
parent | d1afe2caeea474999f03f3f94bb6aaddaf68a03a (diff) | |
download | gcc-e300c78c25b7afa6ebf258572c015cccb4897e38.zip gcc-e300c78c25b7afa6ebf258572c015cccb4897e38.tar.gz gcc-e300c78c25b7afa6ebf258572c015cccb4897e38.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <rsandifo@redhat.com> + + * config/sh/sh.md (initialize_trampoline): Do not force the + trampoline address into R0_REGS here. + 2002-11-17 Kazu Hirata <kazu@cs.umass.edu> * 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]); |