]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* tree.h (struct tree_struct_field_tag): Move field
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Nov 2007 02:18:32 +0000 (02:18 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Nov 2007 02:18:32 +0000 (02:18 +0000)
in_nested_struct ...
(struct tree_memory_tag): ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129982 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree.h

index efc629375ef2c9362a680e13e64521d776b4176c..806240f981e37b3bb5d07ebc8bf907a5c6e5bf82 100644 (file)
@@ -1,3 +1,9 @@
+2007-11-07  Diego Novillo  <dnovillo@google.com>
+
+       * tree.h (struct tree_struct_field_tag): Move field
+       in_nested_struct ...
+       (struct tree_memory_tag): ... here.
+
 2007-11-07  Diego Novillo  <dnovillo@google.com>
 
        PR 33870
index d82ce850effdde354cb99a15cf350ce1abc355c9..decc05dc3c31c9cbab3a8237eddc3efd56a52c36 100644 (file)
@@ -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.  */