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] Poison SMALL_REGISTER_CLASSES


Hello,

While going through some old patches of mine, I noticed this:

config/rl78/rl78.h:#define SMALL_REGISTER_CLASSES 		1
config/rx/rx.h:#define SMALL_REGISTER_CLASSES 		0

Can't possibly work, that target macro was replaced with a hook.

Attached patch OK for trunk?

Ciao!
Steven


	* system.h: Poison SMALL_REGISTER_CLASSES

Index: system.h
===================================================================
--- system.h	(revision 184217)
+++ system.h	(working copy)
@@ -807,7 +807,7 @@ extern void fancy_abort (const char *, i
 	LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP JUMP_ALIGN_MAX_SKIP 		\
 	CAN_DEBUG_WITHOUT_FP UNLIKELY_EXECUTED_TEXT_SECTION_NAME	\
 	HOT_TEXT_SECTION_NAME LEGITIMATE_CONSTANT_P ALWAYS_STRIP_DOTDOT	\
-	OUTPUT_ADDR_CONST_EXTRA
+	OUTPUT_ADDR_CONST_EXTRA SMALL_REGISTER_CLASSES

 /* Target macros only used for code built for the target, that have
    moved to libgcc-tm.h or have never been present elsewhere.  */


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