aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>2000-05-31 16:53:37 -0400
committerRichard Kenner <kenner@gcc.gnu.org>2000-05-31 16:53:37 -0400
commit1febe16ba4611263eafa03b89edf8deae69dcdae (patch)
treed14e8829fcdcec291d70df7358d50fd4aa36a8f7 /gcc/tree.h
parent051c57dafd8c31f1f098c9c8439dfa3c26e92c2c (diff)
downloadgcc-1febe16ba4611263eafa03b89edf8deae69dcdae.zip
gcc-1febe16ba4611263eafa03b89edf8deae69dcdae.tar.gz
gcc-1febe16ba4611263eafa03b89edf8deae69dcdae.tar.bz2
Add documentation of TREE_ADDRESSABLE in FIELD_DECL
From-SVN: r34309
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 09758cb..3c144c3 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -161,8 +161,8 @@ struct tree_common
addressable_flag:
TREE_ADDRESSABLE in
- VAR_DECL, FUNCTION_DECL, CONSTRUCTOR, LABEL_DECL, ..._TYPE
- IDENTIFIER_NODE
+ VAR_DECL, FUNCTION_DECL, FIELD_DECL, CONSTRUCTOR, LABEL_DECL,
+ ..._TYPE, IDENTIFIER_NODE
static_flag:
@@ -471,6 +471,9 @@ extern void tree_class_check_failed PARAMS ((const tree, char,
So it cannot be in a register.
In a FUNCTION_DECL, nonzero means its address is needed.
So it must be compiled even if it is an inline function.
+ In a FIELD_DECL node, it means that the programmer is permitted to
+ construct the address of this field. This is used for aliasing
+ purposes: see record_component_aliases.
In CONSTRUCTOR nodes, it means object constructed must be in memory.
In LABEL_DECL nodes, it means a goto for this label has been seen
from a place outside all binding contours that restore stack levels.