tree.h (struct tree_constructor): Include tree_typed instead of tree_common.

* 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
This commit is contained in:
Nathan Froyd 2011-04-14 01:38:07 +00:00 committed by Nathan Froyd
parent b77020b201
commit 94bd182513
3 changed files with 9 additions and 2 deletions

View 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.

View 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:

View 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;
};