aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-streamer.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2013-06-05 08:21:02 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2013-06-05 08:21:02 +0000
commita367df532e6bf5e05727a86c00d0ff4dfda45f9e (patch)
treeacdabb98bbc49efe5badc893d7d7bc98306fb7ff /gcc/tree-streamer.c
parentc99299ff31351021bd4414dc056b40c704ad2743 (diff)
downloadgcc-a367df532e6bf5e05727a86c00d0ff4dfda45f9e.zip
gcc-a367df532e6bf5e05727a86c00d0ff4dfda45f9e.tar.gz
gcc-a367df532e6bf5e05727a86c00d0ff4dfda45f9e.tar.bz2
tree-streamer.c (streamer_tree_cache_insert_1): Update the index associated with the tree we are supposed to replace.
2013-06-05 Richard Biener <rguenther@suse.de> * tree-streamer.c (streamer_tree_cache_insert_1): Update the index associated with the tree we are supposed to replace. * tree-streamer-out.c (pack_ts_base_value_fields): Output TREE_ASM_WRITTEN as zero for everything but SSA names. lto/ * lto.c (num_merged_types): New global variable. (uniquify_nodes): Increase num_merged_types when merging a type. (print_lto_report_1): Output the number of merged types. From-SVN: r199683
Diffstat (limited to 'gcc/tree-streamer.c')
-rw-r--r--gcc/tree-streamer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-streamer.c b/gcc/tree-streamer.c
index f29690f..e4d948b 100644
--- a/gcc/tree-streamer.c
+++ b/gcc/tree-streamer.c
@@ -152,6 +152,7 @@ streamer_tree_cache_insert_1 (struct streamer_tree_cache_d *cache,
the requested location slot. */
ix = *ix_p;
streamer_tree_cache_add_to_node_array (cache, ix, t);
+ *slot = (void *)(size_t) (ix + 1);
}
/* Indicate that T was already in the cache. */