OSDN Git Service

(DECL_ONE_ONLY): New macro.
authormerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Sep 1996 11:07:42 +0000 (11:07 +0000)
committermerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Sep 1996 11:07:42 +0000 (11:07 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12735 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/tree.h

index 343c037..ee2f72f 100644 (file)
@@ -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)