summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-25 00:50:57 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-25 00:50:57 +0000
commitd04c855dc7694081dab7696d2531822dd948035c (patch)
tree18d20275e98a352b8f61b4744e92b28839dd998a /gcc/config
parent1efbef1556ac7085c8a8f6b99e5649741f2cf056 (diff)
downloadgcc-d04c855dc7694081dab7696d2531822dd948035c.tar.gz
* config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use
replace_equiv_address_nv. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198272 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/rs6000/rs6000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 27245db1420..6000bedff07 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -14418,7 +14418,7 @@ rs6000_secondary_reload_inner (rtx reg, rtx mem, rtx scratch, bool store_p)
/* Adjust the address if it changed. */
if (addr != XEXP (mem, 0))
{
- mem = change_address (mem, mode, addr);
+ mem = replace_equiv_address_nv (mem, addr);
if (TARGET_DEBUG_ADDR)
fprintf (stderr, "\nrs6000_secondary_reload_inner, mem adjusted.\n");
}