diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-09 21:56:13 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-09 21:56:13 +0000 |
commit | cfd726568e808cf82eaf8afb5bbda3acc671fd62 (patch) | |
tree | 30a6bb2274fd97afde640db09ed20b1fb2db977f /gcc/reload.c | |
parent | 39a1c4e92418b71a82b2eb725b8a077c532e3548 (diff) | |
download | gcc-cfd726568e808cf82eaf8afb5bbda3acc671fd62.tar.gz |
* reload.c (find_reloads_address): Pass correct operand to
maybe_memory_address_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87254 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload.c')
-rw-r--r-- | gcc/reload.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |