[patch] Poison SMALL_REGISTER_CLASSES
Steven Bosscher
stevenb.gcc@gmail.com
Wed Feb 15 18:59:00 GMT 2012
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. */
More information about the Gcc-patches
mailing list