DECL_ARTIFICIAL
authorJason Merrill <merrill@gnu.org>
Sun, 7 May 1995 10:28:12 +0000 (10:28 +0000)
committerJason Merrill <merrill@gnu.org>
Sun, 7 May 1995 10:28:12 +0000 (10:28 +0000)
From-SVN: r9586

gcc/tree.h

index 718ea142a36ab7632fd98fb06b9e80de0795d0b6..47c5d6f6a68fb6fd08d91107fac23a22c7faba89 100644 (file)
@@ -955,6 +955,9 @@ struct tree_type
 #define DECL_STATIC_CONSTRUCTOR(NODE) ((NODE)->decl.static_ctor_flag)
 #define DECL_STATIC_DESTRUCTOR(NODE) ((NODE)->decl.static_dtor_flag)
 
+/* Used to indicate that this DECL represents a compiler-generated entity.  */
+#define DECL_ARTIFICIAL(NODE) ((NODE)->decl.artificial_flag)
+
 /* 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)
@@ -993,7 +996,8 @@ struct tree_decl
   unsigned transparent_union : 1;
   unsigned static_ctor_flag : 1;
   unsigned static_dtor_flag : 1;
-  /* room for two more */
+  unsigned artificial_flag : 1;
+  /* room for one more */
 
   unsigned lang_flag_0 : 1;
   unsigned lang_flag_1 : 1;