From 9b305d55bf262d8896f15f6766bbf77c7f4aeb12 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Mon, 9 Aug 2004 17:43:17 +0000 Subject: 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 --- gcc/explow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/explow.c') 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. */ -- cgit v1.2.1