summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-11 16:14:54 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-11 16:14:54 +0000
commit1d21dd3f7aa2eb0f7fc918f06199ee107d2bbd20 (patch)
tree04dd709ec2e3b31b391cf939b63e00fc88be3654 /gcc
parente44e791cb240e14d5e502fd65987f28ec151a2a4 (diff)
downloadppe42-gcc-1d21dd3f7aa2eb0f7fc918f06199ee107d2bbd20.tar.gz
ppe42-gcc-1d21dd3f7aa2eb0f7fc918f06199ee107d2bbd20.zip
* mips.c (function_arg_advance): gen_ashldi3 returns an INSN now,
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.c4
2 files changed, 6 insertions, 3 deletions
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 <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 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)
OpenPOWER on IntegriCloud