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]

Re: [Janitor] Remove INIT_SECTION_PREAMBLE


Zack Weinberg <zack@codesourcery.com> writes:

> Andreas Jaeger <aj@suse.de> writes:
>
>>
>> 	* crtstuff.c: Remove undefined usage of INIT_SECTION_PREAMBLE.
>>
>> 	* cp/decl.c (xref_tag): Remove undefined macro NONNESTED_CLASSES.
>
> These are OK.  INIT_SECTION_PREAMBLE should be poisoned.  You did check
> they are not in the documentation, yes?

Yes, I always run a grep -r to check for this.  Ok, I poison
INIT_SECTION_PREAMBLE with the appended patch and commit it now,

Andreas

2003-06-07  Andreas Jaeger  <aj@suse.de>

	* system.h: Poison INIT_SECTION_PREAMBLE.

============================================================
Index: gcc/system.h
--- gcc/system.h	4 Jun 2003 11:35:09 -0000	1.151
+++ gcc/system.h	7 Jun 2003 17:25:34 -0000
@@ -645,7 +645,7 @@ typedef char _Bool;
 	ROUND_TYPE_SIZE_UNIT CONST_SECTION_ASM_OP CRT_GET_RFIB_TEXT	   \
 	DBX_LBRAC_FIRST DBX_OUTPUT_ENUM DBX_OUTPUT_SOURCE_FILENAME	   \
 	DBX_WORKING_DIRECTORY INSN_CACHE_DEPTH INSN_CACHE_SIZE		   \
-	INSN_CACHE_LINE_WIDTH
+	INSN_CACHE_LINE_WIDTH INIT_SECTION_PREAMBLE
 
 /* Hooks that are no longer used.  */
  #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE	\

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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