From: Jeff Law Date: Tue, 11 Jun 2002 16:14:54 +0000 (-0600) Subject: mips.c (function_arg_advance): gen_ashldi3 returns an INSN now, not the pattern. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88c6578603b964800cbbd243cae61b7e06e92405;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6bbc47eadbc..d92c961284c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,7 @@ -2002-06-11 Jeffrey Law + + * 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 319e1213918..27e1f09868d 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)