mips.c (function_arg_advance): gen_ashldi3 returns an INSN now, not the pattern.
authorJeff Law <law@redhat.com>
Tue, 11 Jun 2002 16:14:54 +0000 (10:14 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 11 Jun 2002 16:14:54 +0000 (10:14 -0600)
        * mips.c (function_arg_advance): gen_ashldi3 returns an INSN now,
        not the pattern.  So extract the pattern from the insn.

From-SVN: r54511

gcc/ChangeLog
gcc/config/mips/mips.c

index 6bbc47eadbc97640ce8e330e43f140d1a27d789c..d92c961284c8dea27e940218fe76c9e000c9371e 100644 (file)
@@ -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.
 
index 319e1213918cc86c48f9699146e4ea0cbe2b14d2..27e1f09868dea25343903cd695e7955ffb6b6e8c 100644 (file)
@@ -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)