fputs (" asm_written", file);
if (TREE_USED (node))
fputs (" used", file);
+ if (TREE_RAISES (node))
+ fputs (" raises", file);
if (TREE_PERMANENT (node))
fputs (" permanent", file);
if (TREE_PUBLIC (node))
fputs (" from_inline", file);
if (DECL_IGNORED_P (node))
fputs (" ignored", file);
+ if (DECL_IN_SYSTEM_HEADER (node))
+ fputs (" in_system_header", file);
if (DECL_LANG_FLAG_0 (node))
fputs (" decl_0", file);
if (DECL_LANG_FLAG_1 (node))
case 'd':
if (code != FUNCTION_DECL)
+ DECL_IN_SYSTEM_HEADER (t) =
+ in_system_header && (obstack == &permanent_obstack);
DECL_ALIGN (t) = 1;
DECL_SOURCE_LINE (t) = lineno;
DECL_SOURCE_FILE (t) = (input_filename) ? input_filename : "<built-in>";
for symbolic debug purposes. */
#define DECL_IGNORED_P(NODE) ((NODE)->decl.ignored_flag)
+/* Nonzero if a _DECL means that no warnings should be generated just
+ because this decl is unused. */
+#define DECL_IN_SYSTEM_HEADER(NODE) ((NODE)->decl.in_system_header_flag)
+
+/* Language-specific decl information. */
#define DECL_LANG_SPECIFIC(NODE) ((NODE)->decl.lang_specific)
/* In a VAR_DECL or FUNCTION_DECL,
unsigned from_inline_flag : 1;
unsigned ignored_flag : 1;
+ unsigned in_system_header_flag : 1;
+ /* room for seven more */
+
unsigned lang_flag_0 : 1;
unsigned lang_flag_1 : 1;
unsigned lang_flag_2 : 1;