summaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authormerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1996-09-18 11:07:42 +0000
committermerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1996-09-18 11:07:42 +0000
commitf65e35739adb6457a4ef13261589492f8e86e344 (patch)
tree9933ef56b8a073c3a347a7801301e6c9c335098c /gcc/tree.h
parent2f6cfdb583e38ed27dc6c52b612d3c97eb841a8a (diff)
downloadgcc-f65e35739adb6457a4ef13261589492f8e86e344.tar.gz
(DECL_ONE_ONLY): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12735 138bc75d-0d04-0410-961f-82ee72b054a4
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 343c037dce9..ee2f72fe43c 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)