OSDN Git Service

* mips.c (function_arg_advance): gen_ashldi3 returns an INSN now,
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Jun 2002 16:14:54 +0000 (16:14 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Jun 2002 16:14:54 +0000 (16:14 +0000)
        not the pattern.  So extract the pattern from the insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54511 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 6bbc47e..d92c961 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 319e121..27e1f09 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)