OSDN Git Service

(DECL_DEFER_OUTPUT): New macro.
[pf3gnuchains/gcc-fork.git] / gcc / tree.h
index d2e6291..ed03b28 100644 (file)
@@ -256,8 +256,8 @@ struct tree_common
    In a CONSTRUCTOR, nonzero means allocate static storage.  */
 #define TREE_STATIC(NODE) ((NODE)->common.static_flag)
 
-/* In a CONVERT_EXPR or NOP_EXPR, this means the node was made
-   implicitly and should not lead to an "unused value" warning.  */
+/* In a CONVERT_EXPR, NOP_EXPR or COMPOUND_EXPR, this means the node was
+   made implicitly and should not lead to an "unused value" warning.  */
 #define TREE_NO_UNUSED_WARNING(NODE) ((NODE)->common.static_flag)
 
 /* Nonzero for a TREE_LIST or TREE_VEC node means that the derivation
@@ -869,7 +869,7 @@ struct tree_type
 
 /* In a TYPE_DECL
    nonzero means the detail info about this type is not dumped into stabs.
-   In stead, it will generate cross reference ('x') of names. 
+   Instead it will generate cross reference ('x') of names. 
    This uses the same flag as DECL_EXTERNAL. */
 #define TYPE_DECL_SUPPRESS_DEBUG(NODE) ((NODE)->decl.external_flag)
    
@@ -915,6 +915,10 @@ struct tree_type
    It is also used in FIELD_DECLs for vtable pointers.  */
 #define DECL_VIRTUAL_P(NODE) ((NODE)->decl.virtual_flag)
 
+/* Used to indicate that the linkage status of this DECL is not yet known,
+   so it should not be output now.  */
+#define DECL_DEFER_OUTPUT(NODE) ((NODE)->decl.defer_output)
+
 /* Additional flags for language-specific uses.  */
 #define DECL_LANG_FLAG_0(NODE) ((NODE)->decl.lang_flag_0)
 #define DECL_LANG_FLAG_1(NODE) ((NODE)->decl.lang_flag_1)
@@ -949,7 +953,8 @@ struct tree_decl
 
   unsigned in_system_header_flag : 1;
   unsigned common_flag : 1;
-  /* room for six more */
+  unsigned defer_output : 1;
+  /* room for five more */
 
   unsigned lang_flag_0 : 1;
   unsigned lang_flag_1 : 1;
@@ -1557,6 +1562,9 @@ extern void lang_finish                           PROTO((void));
 /* Funtion to identify which front-end produced the output file. */
 extern char *lang_identify                     PROTO((void));
 
+/* Function to replace the DECL_LANG_SPECIFIC field of a DECL with a copy.  */
+extern void copy_lang_decl                     PROTO((tree));
+
 /* Function called with no arguments to parse and compile the input.  */
 extern int yyparse                             PROTO((void));
 /* Function called with option as argument