aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sh/sh.h
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@gcc.gnu.org>2009-05-18 22:31:46 +0000
committerKaz Kojima <kkojima@gcc.gnu.org>2009-05-18 22:31:46 +0000
commit1bb99877d3353dbb216ee90a61bd9de811387c7d (patch)
tree47e4b75fcd061158001e39194bfc12f65db9f17a /gcc/config/sh/sh.h
parentff74fd1325ef58c09af1b294338321df2f6b97f0 (diff)
downloadgcc-1bb99877d3353dbb216ee90a61bd9de811387c7d.zip
gcc-1bb99877d3353dbb216ee90a61bd9de811387c7d.tar.gz
gcc-1bb99877d3353dbb216ee90a61bd9de811387c7d.tar.bz2
sh-protos.h (sh_legitimate_address_p): Remove.
* config/sh/sh-protos.h (sh_legitimate_address_p): Remove. * config/sh/sh.c (sh_legitimate_address_p): Make static. (TARGET_LEGITIMATE_ADDRESS_P): New. * config/sh/sh.h (GO_IF_LEGITIMATE_ADDRESS): Delete. * config/sh/sh.md: Clean up references to GO_IF_LEGITIMATE_ADDRESS. From-SVN: r147679
Diffstat (limited to 'gcc/config/sh/sh.h')
-rw-r--r--gcc/config/sh/sh.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index d63a7d6..c3c08bb 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -2320,20 +2320,6 @@ struct sh_args {
if (sh_legitimate_index_p ((MODE), (OP))) \
goto WIN; \
} while (0)
-
-#ifdef REG_OK_STRICT
-#define GO_IF_LEGITIMATE_ADDRESS(MODE, X, LABEL) \
- do { \
- if (sh_legitimate_address_p ((MODE), (X), true)) \
- goto LABEL; \
- } while (0)
-#else
-#define GO_IF_LEGITIMATE_ADDRESS(MODE, X, LABEL) \
- do { \
- if (sh_legitimate_address_p ((MODE), (X), false)) \
- goto LABEL; \
- } while (0)
-#endif
/* A C compound statement that attempts to replace X, which is an address
that needs reloading, with a valid memory address for an operand of