tree.h (struct typed_tree): New.
authorNathan Froyd <froydnj@codesourcery.com>
Tue, 12 Apr 2011 02:18:41 +0000 (02:18 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Tue, 12 Apr 2011 02:18:41 +0000 (02:18 +0000)
commit648a616b30ab2be76103519a3ed4f7f77a00c947
tree0762d9aa5de6a834979e056a73c5dbb8f85cf02a
parentfa21c1fab12bf1a278cd6fce6caec6c47f116318
tree.h (struct typed_tree): New.

* tree.h (struct typed_tree): New.
(struct tree_common): Include it instead of tree_base.
(TREE_TYPE): Update for new location of type field.
(TYPE_USER_ALIGN, TYPE_PACKED): Refer to base field directly.
(DECL_USER_ALIGN, DECL_PACKED): Likewise.
(union tree_node): Add typed field.
* treestruct.def (TS_TYPED): New.
* lto-streamer.c (check_handled_ts_structures): Handle it.
* tree.c (MARK_TS_TYPED): New macro.
(MARK_TS_COMMON): Call it instead of MARK_TS_BASE.

From-SVN: r172295
gcc/ChangeLog
gcc/lto-streamer.c
gcc/tree.c
gcc/tree.h
gcc/treestruct.def