[patch] sh.h: Remove HAVE_SECONDARY_RELOADS.

Kazu Hirata kazu@codesourcery.com
Wed Jan 31 05:42:00 GMT 2007


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



More information about the Gcc-patches mailing list