From: Nick Clifton Date: Thu, 6 Dec 2001 13:53:15 +0000 (+0000) Subject: Pass pointer to RTX when calling alter_subreg(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e26a7af605916eadfe5151020da14f58c063a61;p=gcc.git Pass pointer to RTX when calling alter_subreg(). From-SVN: r47717 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b306410f52..a5da8655850 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-12-06 Nick Clifton + + * config/arm/arm.c (load_multiple_sequence): + Thu Dec 6 06:55:13 2001 Richard Kenner * function.c (assing_parms): Fix typo in last change. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index b7058b48018..5edaa1d2aa3 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 ();