aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2012-10-02 10:00:32 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2012-10-02 10:00:32 +0000
commit0f1e88429a98791cd8c5b8d80703fc5f04a80b23 (patch)
tree7f56c0d30fa7499cd3ec678e78aedbc875ce2c20 /gcc/tree.h
parent70a6aea0adc11ad0562badf470857b2a615cabba (diff)
downloadgcc-0f1e88429a98791cd8c5b8d80703fc5f04a80b23.zip
gcc-0f1e88429a98791cd8c5b8d80703fc5f04a80b23.tar.gz
gcc-0f1e88429a98791cd8c5b8d80703fc5f04a80b23.tar.bz2
tree.h (DECL_NONLOCAL_FRAME): New macro.
* tree.h (DECL_NONLOCAL_FRAME): New macro. * tree-nested.c (get_frame_type): Set DECL_NONLOCAL_FRAME. * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Stream in DECL_NONLOCAL_FRAME flag. * tree-streamer-out.c (pack_ts_decl_common_value_fields): Stream out DECL_NONLOCAL_FRAME flag. From-SVN: r191970
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 1217cc0..ff4ae52 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -712,6 +712,9 @@ struct GTY(()) tree_base {
SSA_NAME_IS_DEFAULT_DEF in
SSA_NAME
+
+ DECL_NONLOCAL_FRAME in
+ VAR_DECL
*/
struct GTY(()) tree_typed {
@@ -3270,9 +3273,14 @@ extern void decl_fini_priority_insert (tree, priority_type);
libraries. */
#define MAX_RESERVED_INIT_PRIORITY 100
+/* In a VAR_DECL, nonzero if this is a global variable for VOPs. */
#define VAR_DECL_IS_VIRTUAL_OPERAND(NODE) \
(VAR_DECL_CHECK (NODE)->base.u.bits.saturating_flag)
+/* In a VAR_DECL, nonzero if this is a non-local frame structure. */
+#define DECL_NONLOCAL_FRAME(NODE) \
+ (VAR_DECL_CHECK (NODE)->base.default_def_flag)
+
struct GTY(()) tree_var_decl {
struct tree_decl_with_vis common;
};