tree.h (struct tree_constructor): Include tree_typed instead of tree_common.
authorNathan Froyd <froydnj@codesourcery.com>
Thu, 14 Apr 2011 01:38:07 +0000 (01:38 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Thu, 14 Apr 2011 01:38:07 +0000 (01:38 +0000)
* tree.h (struct tree_constructor): Include tree_typed instead of
tree_common.
* tree.c (initialize_tree_contains_struct): Mark TS_CONSTRUCTOR as
TS_TYPED instead of TS_COMMON.

From-SVN: r172409

gcc/ChangeLog
gcc/tree.c
gcc/tree.h

index 273bd748ac7f189f216e3007eaa707acfdeefef2..d8313a3c66a689d545ecc66c682d2c7d92c05515 100644 (file)
@@ -1,3 +1,10 @@
+2011-04-13  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * tree.h (struct tree_constructor): Include tree_typed instead of
+       tree_common.
+       * tree.c (initialize_tree_contains_struct): Mark TS_CONSTRUCTOR as
+       TS_TYPED instead of TS_COMMON.
+
 2011-04-12  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/sse.md (*sse2_uavgv16qi3): Merge with *avx_uavgv16qi3.
index bb8d2e646e2ff3a4739ae2f0425474a2bde00860..c233a5c9aeba01ae32b5f7ace3415e1f29125bf7 100644 (file)
@@ -378,6 +378,7 @@ initialize_tree_contains_struct (void)
        case TS_STRING:
        case TS_COMPLEX:
        case TS_SSA_NAME:
+       case TS_CONSTRUCTOR:
          MARK_TS_TYPED (code);
          break;
 
@@ -390,7 +391,6 @@ initialize_tree_contains_struct (void)
        case TS_BLOCK:
        case TS_BINFO:
        case TS_STATEMENT_LIST:
-       case TS_CONSTRUCTOR:
        case TS_OMP_CLAUSE:
        case TS_OPTIMIZATION:
        case TS_TARGET_OPTION:
index d4ad5620f3f4ab18734cbad83b9abdc530908cff..806e9a6b6c3a97363bcf3ca9ca2f7a3919fcf802 100644 (file)
@@ -1613,7 +1613,7 @@ DEF_VEC_O(constructor_elt);
 DEF_VEC_ALLOC_O(constructor_elt,gc);
 
 struct GTY(()) tree_constructor {
-  struct tree_common common;
+  struct tree_typed typed;
   VEC(constructor_elt,gc) *elts;
 };