This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] sh.h: Remove HAVE_SECONDARY_RELOADS.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: kkojima at gcc dot gnu dot org, aoliva at redhat dot com
- Date: Wed, 31 Jan 2007 06:28:51 -0800
- Subject: [patch] sh.h: Remove HAVE_SECONDARY_RELOADS.
Hi,
Attached is a patch to remove HAVE_SECONDARY_RELOADS as it is not used
anywhere in GCC.
Thanks goes to Kaz who tested this patch on sh4-*-linux-gnu.
OK to apply?
Kazu Hirata
2007-01-31 Kazu Hirata <kazu@codesourcery.com>
* config/sh/sh.h (HAVE_SECONDARY_RELOADS): Remove.
Index: config/sh/sh.h
===================================================================
--- config/sh/sh.h (revision 120165)
+++ config/sh/sh.h (working copy)
@@ -1738,8 +1738,6 @@ extern enum reg_class reg_class_from_let
&& (GET_CODE (X) == LABEL_REF || PIC_DIRECT_ADDR_P (X))) \
? TARGET_REGS \
: SECONDARY_INOUT_RELOAD_CLASS((CLASS),(MODE),(X), NO_REGS))
-#else
-#define HAVE_SECONDARY_RELOADS
#endif
/* Return the maximum number of consecutive registers