diff mbox

[SH] Delete dead GO_IF_LEGITIMATE_INDEX macro

Message ID 1330265662.2929.57.camel@yam-132-YW-E178-FTW
State New
Headers show

Commit Message

Oleg Endo Feb. 26, 2012, 2:14 p.m. UTC
Hello,

The attached patch deletes the dead GO_IF_LEGITIMATE_INDEX macro in
sh.h.
OK to apply to trunk?


2012-02-26  Oleg Endo  <olegendo@gcc.gnu.org>

	* config/sh/sh.h: Delete dead GO_IF_LEGITIMATE_INDEX macro.

Comments

Kaz Kojima Feb. 27, 2012, 12:06 a.m. UTC | #1
Oleg Endo <oleg.endo@t-online.de> wrote:
> The attached patch deletes the dead GO_IF_LEGITIMATE_INDEX macro in
> sh.h.
> OK to apply to trunk?

OK.

Regards,
	kaz
diff mbox

Patch

Index: gcc/config/sh/sh.h
===================================================================
--- gcc/config/sh/sh.h	(revision 184582)
+++ gcc/config/sh/sh.h	(working copy)
@@ -1909,12 +1909,6 @@ 
 
 #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