aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1994-06-23 23:19:54 +0000
committerJason Merrill <merrill@gnu.org>1994-06-23 23:19:54 +0000
commitd3568529c79953043c49af2e0ab7171f05955769 (patch)
tree752cbc6dfd8de9005cde9bc808eed7b20e2e141d
parent425c176f742d2629288b9f3211310cf3f806d051 (diff)
downloadgcc-d3568529c79953043c49af2e0ab7171f05955769.zip
gcc-d3568529c79953043c49af2e0ab7171f05955769.tar.gz
gcc-d3568529c79953043c49af2e0ab7171f05955769.tar.bz2
(TREE_SYMBOL_REFERENCED): New macro.
From-SVN: r7549
-rw-r--r--gcc/tree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index ed03b28..616dedf 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. */