summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-27 00:43:12 +0000
committerolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-27 00:43:12 +0000
commit5b9a8c31af0e7d0f743e8ba07a3bbe03042f5869 (patch)
tree38fbb9181bfa8bbf48e16d2c5c1a0c2ffc8588ed
parent625f7354dc12c6d18b445e6b0f25e2515df08987 (diff)
downloadgcc-5b9a8c31af0e7d0f743e8ba07a3bbe03042f5869.tar.gz
* config/sh/sh.h: Delete dead GO_IF_LEGITIMATE_INDEX macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184590 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/sh/sh.h6
2 files changed, 4 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5bd94568c76..fdd225cfd6c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-27 Oleg Endo <olegendo@gcc.gnu.org>
+
+ * config/sh/sh.h: Delete dead GO_IF_LEGITIMATE_INDEX macro.
+
2012-02-26 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/predicates.md: Remove blank lines.
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index 0f06fb8de24..7a8b23eac16 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -1909,12 +1909,6 @@ struct sh_args {
#define ALLOW_INDEXED_ADDRESS \
((!TARGET_SHMEDIA32 && !TARGET_SHCOMPACT) || TARGET_ALLOW_INDEXED_ADDRESS)
-
-#define GO_IF_LEGITIMATE_INDEX(MODE, OP, WIN) \
- do { \
- if (sh_legitimate_index_p ((MODE), (OP))) \
- goto WIN; \
- } while (0)
/* 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