From 4e26a7af605916eadfe5151020da14f58c063a61 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 6 Dec 2001 13:53:15 +0000 Subject: [PATCH] Pass pointer to RTX when calling alter_subreg(). From-SVN: r47717 --- gcc/ChangeLog | 4 ++++ gcc/config/arm/arm.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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 (); -- 2.30.2