This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]