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 Kaz,

Could you test the attached patch if you happen to have time?  It
removes HAVE_SECONDARY_RELOADS, which is not used anywhere in gcc
these days.  I almost checked this in as "obvious", but I didn't want
to break builds accidentally.

Thanks,

Kazu Hirata

2006-12-23  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]