aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1995-05-07 10:28:12 +0000
committerJason Merrill <merrill@gnu.org>1995-05-07 10:28:12 +0000
commit3edbc4b95fc4440ff6fbeebc259af6806baf5e1c (patch)
tree5b6edd3a8a05aa417ac53cad8e8133c953987d3d /gcc/tree.h
parent497dc802f64d0554fb81dfd9f1699587762bc254 (diff)
downloadgcc-3edbc4b95fc4440ff6fbeebc259af6806baf5e1c.zip
gcc-3edbc4b95fc4440ff6fbeebc259af6806baf5e1c.tar.gz
gcc-3edbc4b95fc4440ff6fbeebc259af6806baf5e1c.tar.bz2
DECL_ARTIFICIAL
From-SVN: r9586
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 718ea14..47c5d6f 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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;