diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-31 14:03:32 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-31 14:03:32 +0000 |
commit | 2436e5d560692cc3be20ead77c207c9f3a8b49bf (patch) | |
tree | ee9904a6c127fa049f4fcdb3e311f4d0ab5141f9 /gcc/tree-streamer-out.c | |
parent | c5cdc12df715e32cf64aa2aa720fb6a327141906 (diff) | |
download | gcc-2436e5d560692cc3be20ead77c207c9f3a8b49bf.tar.gz |
* tree-streamer-out.c (pack_ts_base_value_fields): Emit
TYPE_ADDR_SPACE.
* tree-streamer-in.c (unpack_ts_base_value_fields): Read
TYPE_ADDR_SPACE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180697 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-streamer-out.c')
-rw-r--r-- | gcc/tree-streamer-out.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tree-streamer-out.c b/gcc/tree-streamer-out.c index 58be0a385a0..c46859f1989 100644 --- a/gcc/tree-streamer-out.c +++ b/gcc/tree-streamer-out.c @@ -100,7 +100,10 @@ pack_ts_base_value_fields (struct bitpack_d *bp, tree expr) bp_pack_value (bp, TREE_PROTECTED (expr), 1); bp_pack_value (bp, TREE_DEPRECATED (expr), 1); if (TYPE_P (expr)) - bp_pack_value (bp, TYPE_SATURATING (expr), 1); + { + bp_pack_value (bp, TYPE_SATURATING (expr), 1); + bp_pack_value (bp, TYPE_ADDR_SPACE (expr), 8); + } else if (TREE_CODE (expr) == SSA_NAME) bp_pack_value (bp, SSA_NAME_IS_DEFAULT_DEF (expr), 1); else |