aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog4
-rw-r--r--gcc/lto/lto.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index f0d90fc..6e90527 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-10 Jan Hubicka <hubicka@ucw.cz>
+
+ * lto.c (lto_read_in_decl_state): Unpickle compressed bit.
+
2015-12-11 Jan Hubicka <hubicka@ucw.cz>
PR ipa/61886
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index 1b11439..fcf7caf 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -234,6 +234,8 @@ lto_read_in_decl_state (struct data_in *data_in, const uint32_t *data,
uint32_t i, j;
ix = *data++;
+ state->compressed = ix & 1;
+ ix /= 2;
decl = streamer_tree_cache_get_tree (data_in->reader_cache, ix);
if (!VAR_OR_FUNCTION_DECL_P (decl))
{