Commit d3568529 by Jason Merrill

(TREE_SYMBOL_REFERENCED): New macro.

From-SVN: r7549
parent 425c176f
...@@ -269,6 +269,10 @@ struct tree_common ...@@ -269,6 +269,10 @@ struct tree_common
requires a diagnostic when overflows occur in constant expressions. */ requires a diagnostic when overflows occur in constant expressions. */
#define TREE_CONSTANT_OVERFLOW(NODE) ((NODE)->common.static_flag) #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 /* 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. overflow in folding, and no warning has been issued for this subexpression.
TREE_OVERFLOW implies TREE_CONSTANT_OVERFLOW, but not vice versa. */ TREE_OVERFLOW implies TREE_CONSTANT_OVERFLOW, but not vice versa. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment