diff mbox

[ira-improv] patch to poison removed macros and hooks.

Message ID 4C61C7A0.6050301@redhat.com
State New
Headers show

Commit Message

Vladimir Makarov Aug. 10, 2010, 9:41 p.m. UTC
As Joseph Myers pointed me out, I should have poisoned removed macros 
and hooks.  Here is the patch.

2010-08-10  Vladimir Makarov <vmakarov@redhat.com>

     * system.h (IRA_COVER_CLASSES, TARGET_IRA_COVER_CLASSES): Poison.
diff mbox

Patch

Index: system.h
===================================================================
--- system.h	(revision 163061)
+++ system.h	(working copy)
@@ -770,7 +770,8 @@  extern void fancy_abort (const char *, i
 	ASM_OUTPUT_SHARED_LOCAL ASM_MAKE_LABEL_LINKONCE			   \
 	STACK_CHECK_PROBE_INTERVAL STACK_CHECK_PROBE_LOAD		   \
 	ORDER_REGS_FOR_LOCAL_ALLOC FUNCTION_OUTGOING_VALUE		   \
-	ASM_DECLARE_CONSTANT_NAME MODIFY_TARGET_NAME SWITCHES_NEED_SPACES
+	ASM_DECLARE_CONSTANT_NAME MODIFY_TARGET_NAME SWITCHES_NEED_SPACES  \
+        IRA_COVER_CLASSES
 
 /* Hooks that are no longer used.  */
  #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE	\
@@ -780,7 +781,7 @@  extern void fancy_abort (const char *, i
 	LANG_HOOKS_MAYBE_BUILD_CLEANUP LANG_HOOKS_UPDATE_DECL_AFTER_SAVING \
 	LANG_HOOKS_POPLEVEL LANG_HOOKS_TRUTHVALUE_CONVERSION \
 	TARGET_PROMOTE_FUNCTION_ARGS TARGET_PROMOTE_FUNCTION_RETURN \
-	LANG_HOOKS_MISSING_ARGUMENT
+	LANG_HOOKS_MISSING_ARGUMENT TARGET_IRA_COVER_CLASSES
 
 /* Miscellaneous macros that are no longer used.  */
  #pragma GCC poison USE_MAPPED_LOCATION