Pass pointer to RTX when calling alter_subreg().

From-SVN: r47717
This commit is contained in:
Nick Clifton 2001-12-06 13:53:15 +00:00 committed by Nick Clifton
parent a57263bc3c
commit 4e26a7af60
2 changed files with 6 additions and 2 deletions

View 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.

View 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 ();