diff options
author | Nick Clifton <nickc@cambridge.redhat.com> | 2001-12-06 13:53:15 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2001-12-06 13:53:15 +0000 |
commit | 4e26a7af605916eadfe5151020da14f58c063a61 (patch) | |
tree | bec65f04976a18f5a5a2002517d78dfbcc79d39a /gcc | |
parent | a57263bc3c2224416b9b2376972d098f96f9226e (diff) | |
download | gcc-4e26a7af605916eadfe5151020da14f58c063a61.zip gcc-4e26a7af605916eadfe5151020da14f58c063a61.tar.gz gcc-4e26a7af605916eadfe5151020da14f58c063a61.tar.bz2 |
Pass pointer to RTX when calling alter_subreg().
From-SVN: r47717
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 4 |
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 (); |