aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/arm/arm.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3b30641..a5da865 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * config/arm/arm.c (load_multiple_sequence):
+
Thu Dec 6 06:55:13 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* function.c (assing_parms): Fix typo in last change.
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index b7058b4..5edaa1d 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -3808,7 +3808,7 @@ load_multiple_sequence (operands, nops, regs, base, load_offset)
/* Convert a subreg of a mem into the mem itself. */
if (GET_CODE (operands[nops + i]) == SUBREG)
- operands[nops + i] = alter_subreg (operands[nops + i]);
+ operands[nops + i] = alter_subreg (operands + (nops + i));
if (GET_CODE (operands[nops + i]) != MEM)
abort ();
@@ -4043,7 +4043,7 @@ store_multiple_sequence (operands, nops, regs, base, load_offset)
/* Convert a subreg of a mem into the mem itself. */
if (GET_CODE (operands[nops + i]) == SUBREG)
- operands[nops + i] = alter_subreg (operands[nops + i]);
+ operands[nops + i] = alter_subreg (operands + (nops + i));
if (GET_CODE (operands[nops + i]) != MEM)
abort ();