diff options
author | Zack Weinberg <zack@codesourcery.com> | 2004-08-09 17:43:17 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2004-08-09 17:43:17 +0000 |
commit | 9b305d55bf262d8896f15f6766bbf77c7f4aeb12 (patch) | |
tree | 6fef4f7fa04422bce536a2708b9782fb548abd0c /gcc/explow.c | |
parent | 702d4b738815d6f10c0a46d2f25b4ea58b14ed55 (diff) | |
download | gcc-9b305d55bf262d8896f15f6766bbf77c7f4aeb12.tar.gz |
explow.c (memory_address): Use memory_address_p.
* explow.c (memory_address): Use memory_address_p.
* recog.c (general_operand): Likewise.
* regrename.c: No need to define REG_OK_STRICT.
From-SVN: r85720
Diffstat (limited to 'gcc/explow.c')
-rw-r--r-- | gcc/explow.c | 3 |
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. */ |