diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2011-04-12 02:18:41 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2011-04-12 02:18:41 +0000 |
commit | 648a616b30ab2be76103519a3ed4f7f77a00c947 (patch) | |
tree | 0762d9aa5de6a834979e056a73c5dbb8f85cf02a /gcc/lto-streamer.c | |
parent | fa21c1fab12bf1a278cd6fce6caec6c47f116318 (diff) | |
download | gcc-648a616b30ab2be76103519a3ed4f7f77a00c947.tar.gz |
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
Diffstat (limited to 'gcc/lto-streamer.c')
-rw-r--r-- | gcc/lto-streamer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/lto-streamer.c b/gcc/lto-streamer.c index c6738d27e64..74034b07485 100644 --- a/gcc/lto-streamer.c +++ b/gcc/lto-streamer.c @@ -270,6 +270,7 @@ check_handled_ts_structures (void) /* These are the TS_* structures that are either handled or explicitly ignored by the streamer routines. */ handled_p[TS_BASE] = true; + handled_p[TS_TYPED] = true; handled_p[TS_COMMON] = true; handled_p[TS_INT_CST] = true; handled_p[TS_REAL_CST] = true; |