OSDN Git Service

* config/sh/sh.h: Delete dead GO_IF_LEGITIMATE_INDEX macro.
authorolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Feb 2012 00:43:12 +0000 (00:43 +0000)
committerolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Feb 2012 00:43:12 +0000 (00:43 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184590 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sh/sh.h

index 5bd9456..fdd225c 100644 (file)
@@ -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.
index 0f06fb8..7a8b23e 100644 (file)
@@ -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)
 \f
 /* 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