aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1996-09-18 11:07:42 +0000
committerJason Merrill <merrill@gnu.org>1996-09-18 11:07:42 +0000
commitc5bd82cb0ff4e7f66bf49031d8953b76f354a54b (patch)
tree9933ef56b8a073c3a347a7801301e6c9c335098c /gcc/tree.h
parentf796d997137a498b881ea786e9517bda7a2b4bea (diff)
downloadgcc-c5bd82cb0ff4e7f66bf49031d8953b76f354a54b.zip
gcc-c5bd82cb0ff4e7f66bf49031d8953b76f354a54b.tar.gz
gcc-c5bd82cb0ff4e7f66bf49031d8953b76f354a54b.tar.bz2
(DECL_ONE_ONLY): New macro.
From-SVN: r12735
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 343c037..ee2f72f 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1077,6 +1077,10 @@ struct tree_type
/* Used to indicate that this DECL has weak linkage. */
#define DECL_WEAK(NODE) ((NODE)->decl.weak_flag)
+/* Used in TREE_PUBLIC decls to indicate that copies of this DECL in
+ multiple translation units should be merged. */
+#define DECL_ONE_ONLY(NODE) ((NODE)->decl.transparent_union)
+
/* 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)