diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2012-09-24 10:27:18 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-09-24 10:27:18 +0000 |
commit | 04208228d829c01a191264c27062af4bdf35ae84 (patch) | |
tree | 8e514ad0329c6ee4561450f694d7f460c6002ebe /gcc/tree-streamer-out.c | |
parent | 548e68fc23073b636061541233e76161d1b66b17 (diff) | |
download | gcc-04208228d829c01a191264c27062af4bdf35ae84.zip gcc-04208228d829c01a191264c27062af4bdf35ae84.tar.gz gcc-04208228d829c01a191264c27062af4bdf35ae84.tar.bz2 |
tree-streamer-in.c (unpack_ts_type_common_value_fields): Stream in TYPE_NONALIASED_COMPONENT flag.
* tree-streamer-in.c (unpack_ts_type_common_value_fields): Stream in
TYPE_NONALIASED_COMPONENT flag.
* tree-streamer-out.c (pack_ts_type_common_value_fields): Stream out
TYPE_NONALIASED_COMPONENT flag.
From-SVN: r191662
Diffstat (limited to 'gcc/tree-streamer-out.c')
-rw-r--r-- | gcc/tree-streamer-out.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-streamer-out.c b/gcc/tree-streamer-out.c index ab86b1e..54059a8 100644 --- a/gcc/tree-streamer-out.c +++ b/gcc/tree-streamer-out.c @@ -279,6 +279,8 @@ pack_ts_type_common_value_fields (struct bitpack_d *bp, tree expr) bp_pack_value (bp, TYPE_NEEDS_CONSTRUCTING (expr), 1); if (RECORD_OR_UNION_TYPE_P (expr)) bp_pack_value (bp, TYPE_TRANSPARENT_AGGR (expr), 1); + else if (TREE_CODE (expr) == ARRAY_TYPE) + bp_pack_value (bp, TYPE_NONALIASED_COMPONENT (expr), 1); bp_pack_value (bp, TYPE_PACKED (expr), 1); bp_pack_value (bp, TYPE_RESTRICT (expr), 1); bp_pack_value (bp, TYPE_CONTAINS_PLACEHOLDER_INTERNAL (expr), 2); |