Pass pointer to RTX when calling alter_subreg().
authorNick Clifton <nickc@cambridge.redhat.com>
Thu, 6 Dec 2001 13:53:15 +0000 (13:53 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 6 Dec 2001 13:53:15 +0000 (13:53 +0000)
From-SVN: r47717

gcc/ChangeLog
gcc/config/arm/arm.c

index 3b306410f525d3c285ca251d8c5c008015ffc64f..a5da8655850df16b1a2e025f013099dfc1d29eb6 100644 (file)
@@ -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.
index b7058b4801804dff82624fed1890a91e4f40f4b7..5edaa1d2aa39b7544e2ff9bf3f627555eb895122 100644 (file)
@@ -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 ();