From: Ulrich Weigand Date: Thu, 9 Sep 2004 21:56:13 +0000 (+0000) Subject: reload.c (find_reloads_address): Pass correct operand to maybe_memory_address_p. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bb09d158e46c14ec2d55ad0bf92f4abdeeed6c2;p=gcc.git reload.c (find_reloads_address): Pass correct operand to maybe_memory_address_p. * reload.c (find_reloads_address): Pass correct operand to maybe_memory_address_p. From-SVN: r87254 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99aab874f9e..34f6e6abc13 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-09-09 Ulrich Weigand + + * reload.c (find_reloads_address): Pass correct operand to + maybe_memory_address_p. + 2004-09-09 Daniel Berlin * Makefile.in: Remove libbanshee, tree-alias-*. diff --git a/gcc/reload.c b/gcc/reload.c index 46b85f7f01f..990cf209613 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -4937,7 +4937,7 @@ find_reloads_address (enum machine_mode mode, rtx *memrefloc, rtx ad, #endif || operand == stack_pointer_rtx) && ! maybe_memory_address_p (mode, ad, - &XEXP (XEXP (ad, 0), op_index))) + &XEXP (XEXP (ad, 0), 1 - op_index))) { rtx offset_reg; rtx addend;