diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-12-01 20:13:12 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-12-01 19:13:12 +0000 |
commit | 8c86248e5830cf6c3c05c8ab851b1e8fe90551d0 (patch) | |
tree | c3f43c3a966b65d89c40c0d8c8ccc277127f2c44 /gcc/lto | |
parent | ac8560785fa3acc879722cfc1a8afd0b911880c6 (diff) | |
download | gcc-8c86248e5830cf6c3c05c8ab851b1e8fe90551d0.zip gcc-8c86248e5830cf6c3c05c8ab851b1e8fe90551d0.tar.gz gcc-8c86248e5830cf6c3c05c8ab851b1e8fe90551d0.tar.bz2 |
lto-streamer-out.c (hash_tree): Do not stream TYPE_ALIAS_SET.
* lto-streamer-out.c (hash_tree): Do not stream TYPE_ALIAS_SET.
* tree-streamer-out.c (pack_ts_type_common_value_fields): Do not
stream TYPE_ALIAS_SET.
* tree-streamer-in.c (unpack_ts_type_common_value_fields): Do not
stream TYPE_ALIAS_SET.
* lto.c (compare_tree_sccs_1): Do not compare TYPE_ALIAS_SET.
From-SVN: r231124
Diffstat (limited to 'gcc/lto')
-rw-r--r-- | gcc/lto/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/lto/lto.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 1ddacfa..a508999 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,7 @@ +2015-12-01 Jan Hubicka <hubicka@ucw.cz> + + * lto.c (compare_tree_sccs_1): Do not compare TYPE_ALIAS_SET. + 2015-11-25 Jan Hubicka <jh@suse.cz> * lto-lang.c (lto_post_options): Process flag_lto_linker_output. diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index b1e2d6e..dcfa3c8 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -1166,7 +1166,9 @@ compare_tree_sccs_1 (tree t1, tree t2, tree **map) compare_values (TYPE_READONLY); compare_values (TYPE_PRECISION); compare_values (TYPE_ALIGN); - compare_values (TYPE_ALIAS_SET); + /* Do not compare TYPE_ALIAS_SET. Doing so introduce ordering issues + with calls to get_alias_set which may initialize it for streamed + in types. */ } /* We don't want to compare locations, so there is nothing do compare |