]> gcc.gnu.org Git - gcc.git/commit - gcc/tree-streamer-in.c
revert: tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if type is...
authorJan Hubicka <hubicka@ucw.cz>
Mon, 30 Jun 2014 22:18:25 +0000 (00:18 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 30 Jun 2014 22:18:25 +0000 (22:18 +0000)
commit010f4e272f4edf8a0ba24f6cb5d2e084c0c9a33c
treece37885e67fa8bfe2a2d91dc28440fe76b1ba05b
parent0ca59830558c865ea8329e387207d9682021f405
revert: tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if type is complete.

Revert:
* tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if type
is complete.
(write_ts_type_common_tree_pointers): Do not stream fields not set for incomplete
types; do not stream duplicated fields for variants; sanity check that variant
and type match.
(write_ts_type_non_common_tree_pointers): Likewise.
* tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in TYPE_SIZE whether
type is complete.
(lto_input_ts_type_common_tree_pointers): Do same changes as in
write_ts_type_common_tree_pointers
(lto_input_ts_type_non_common_tree_pointers): Likewise.

* lto.c (lto_copy_fields_not_streamed): New function.
(compare_tree_sccs_1): Do not compare fields shared in between type
and variant.
(lto_read_decls): Fixup types first before inserting into hash.

From-SVN: r212179
gcc/ChangeLog
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/tree-streamer-in.c
gcc/tree-streamer-out.c
This page took 0.056886 seconds and 5 git commands to generate.