summaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authormerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1994-06-23 23:19:54 +0000
committermerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1994-06-23 23:19:54 +0000
commit2cf6f20a210acf72d2f7b2825a8a33bea77457ff (patch)
tree752cbc6dfd8de9005cde9bc808eed7b20e2e141d /gcc/tree.h
parent5a6a63df460ad22a88f21b27e759d9bdafa251e1 (diff)
downloadgcc-2cf6f20a210acf72d2f7b2825a8a33bea77457ff.tar.gz
(TREE_SYMBOL_REFERENCED): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7549 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 ed03b28c978..616dedf65eb 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -269,6 +269,10 @@ struct tree_common
requires a diagnostic when overflows occur in constant expressions. */
#define TREE_CONSTANT_OVERFLOW(NODE) ((NODE)->common.static_flag)
+/* In an IDENTIFIER_NODE, this means that assemble_name was called with
+ this string as an argument. */
+#define TREE_SYMBOL_REFERENCED(NODE) ((NODE)->common.static_flag)
+
/* In an INTEGER_CST, REAL_CST, of COMPLEX_CST, this means there was an
overflow in folding, and no warning has been issued for this subexpression.
TREE_OVERFLOW implies TREE_CONSTANT_OVERFLOW, but not vice versa. */