summaryrefslogtreecommitdiff
path: root/gcc/explow.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-09 17:43:17 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-09 17:43:17 +0000
commitd7ecac2ed2227fc3db9e50e13aab98bf92bd0e26 (patch)
tree6fef4f7fa04422bce536a2708b9782fb548abd0c /gcc/explow.c
parent44bb68b4767c6f576bf0842efba19606a4f11b6c (diff)
downloadgcc-d7ecac2ed2227fc3db9e50e13aab98bf92bd0e26.tar.gz
* explow.c (memory_address): Use memory_address_p.
* recog.c (general_operand): Likewise. * regrename.c: No need to define REG_OK_STRICT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85720 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/explow.c')
-rw-r--r--gcc/explow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/explow.c b/gcc/explow.c
index 515778f5e6b..f58873a3527 100644
--- a/gcc/explow.c
+++ b/gcc/explow.c
@@ -456,7 +456,8 @@ memory_address (enum machine_mode mode, rtx x)
x = break_out_memory_refs (x);
/* At this point, any valid address is accepted. */
- GO_IF_LEGITIMATE_ADDRESS (mode, x, win);
+ if (memory_address_p (mode, x))
+ goto win;
/* If it was valid before but breaking out memory refs invalidated it,
use it the old way. */