aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2007-11-07 21:18:32 -0500
committerDiego Novillo <dnovillo@gcc.gnu.org>2007-11-07 21:18:32 -0500
commit24c1b08d6947646c763411d4a17b8b54049fea74 (patch)
treee7764e0ac964f9892d5ee03acf79a49cdf9572d4 /gcc/tree.h
parenteba0c53727c6228aae2984b3900f7b314ec19118 (diff)
downloadgcc-24c1b08d6947646c763411d4a17b8b54049fea74.zip
gcc-24c1b08d6947646c763411d4a17b8b54049fea74.tar.gz
gcc-24c1b08d6947646c763411d4a17b8b54049fea74.tar.bz2
tree.h (struct tree_struct_field_tag): Move field in_nested_struct ...
* tree.h (struct tree_struct_field_tag): Move field in_nested_struct ... (struct tree_memory_tag): ... here. From-SVN: r129982
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index d82ce85..decc05d 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2554,7 +2554,11 @@ struct tree_memory_tag GTY(())
bitmap GTY ((skip)) aliases;
+ /* True if this tag has global scope. */
unsigned int is_global:1;
+
+ /* True if this SFT is for a field in a nested structure. */
+ unsigned int in_nested_struct : 1;
};
#define MTAG_GLOBAL(NODE) (TREE_MEMORY_TAG_CHECK (NODE)->mtag.is_global)
@@ -2573,9 +2577,6 @@ struct tree_struct_field_tag GTY(())
/* Size of the field. */
unsigned HOST_WIDE_INT size;
- /* True if this SFT is for a field in a nested structure. */
- unsigned int in_nested_struct : 1;
-
/* Alias set for a DECL_NONADDRESSABLE_P field. Otherwise -1. */
alias_set_type alias_set;
};
@@ -2587,7 +2588,7 @@ struct tree_struct_field_tag GTY(())
(STRUCT_FIELD_TAG_CHECK (NODE)->sft.alias_set != -1)
#define SFT_ALIAS_SET(NODE) (STRUCT_FIELD_TAG_CHECK (NODE)->sft.alias_set)
#define SFT_IN_NESTED_STRUCT(NODE) \
- (STRUCT_FIELD_TAG_CHECK (NODE)->sft.in_nested_struct)
+ (STRUCT_FIELD_TAG_CHECK (NODE)->sft.common.in_nested_struct)
/* Memory Partition Tags (MPTs) group memory symbols under one
common name for the purposes of placing memory PHI nodes. */