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 <olege...@gcc.gnu.org> * config/sh/sh.h: Delete dead GO_IF_LEGITIMATE_INDEX macro.
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