diff options
author | Jeff Law <law@redhat.com> | 2002-06-11 10:14:54 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2002-06-11 10:14:54 -0600 |
commit | 88c6578603b964800cbbd243cae61b7e06e92405 (patch) | |
tree | 04dd709ec2e3b31b391cf939b63e00fc88be3654 | |
parent | e35b68b01a06dc1946fd8ab3c0538ca284c78d8b (diff) | |
download | gcc-88c6578603b964800cbbd243cae61b7e06e92405.zip gcc-88c6578603b964800cbbd243cae61b7e06e92405.tar.gz gcc-88c6578603b964800cbbd243cae61b7e06e92405.tar.bz2 |
mips.c (function_arg_advance): gen_ashldi3 returns an INSN now, not the pattern.
* mips.c (function_arg_advance): gen_ashldi3 returns an INSN now,
not the pattern. So extract the pattern from the insn.
From-SVN: r54511
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6bbc47e..d92c961 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,7 @@ -2002-06-11 Jeffrey Law <law@redhat.com +2002-06-11 Jeffrey Law <law@redhat.com> + + * mips.c (function_arg_advance): gen_ashldi3 returns an INSN now, + not the pattern. So extract the pattern from the insn. * mips.c (embedded_pic_fnaddr_reg): Fix typo. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 319e121..27e1f09 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -4211,9 +4211,9 @@ function_arg_advance (cum, mode, type, named) rtx reg = gen_rtx_REG (word_mode, GP_ARG_FIRST + info.reg_offset); if (TARGET_64BIT) - cum->adjust[cum->num_adjusts++] = gen_ashldi3 (reg, reg, amount); + cum->adjust[cum->num_adjusts++] = PATTERN (gen_ashldi3 (reg, reg, amount)); else - cum->adjust[cum->num_adjusts++] = gen_ashlsi3 (reg, reg, amount); + cum->adjust[cum->num_adjusts++] = PATTERN (gen_ashlsi3 (reg, reg, amount)); } if (!info.fpr_p) |