aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-streamer-out.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-08-19 07:57:44 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-08-19 07:57:44 +0000
commit47503a4919cba2c808cbf30a19685462fd60c6a1 (patch)
tree9c3c3f9957eb4b87e7976b5b57d29f4fe6005959 /gcc/tree-streamer-out.c
parent21c924ac985800859335f088e24b374b29c179b0 (diff)
downloadgcc-47503a4919cba2c808cbf30a19685462fd60c6a1.zip
gcc-47503a4919cba2c808cbf30a19685462fd60c6a1.tar.gz
gcc-47503a4919cba2c808cbf30a19685462fd60c6a1.tar.bz2
lto-streamer-out.c (DFS::DFS_write_tree_body): Stream DECL_EXTERNALs in BLOCKs as non-references.
2014-08-19 Richard Biener <rguenther@suse.de> * lto-streamer-out.c (DFS::DFS_write_tree_body): Stream DECL_EXTERNALs in BLOCKs as non-references. * tree-streamer-out.c (streamer_write_chain): Likewise. From-SVN: r214135
Diffstat (limited to 'gcc/tree-streamer-out.c')
-rw-r--r--gcc/tree-streamer-out.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-streamer-out.c b/gcc/tree-streamer-out.c
index 52e714e..15ad8f8 100644
--- a/gcc/tree-streamer-out.c
+++ b/gcc/tree-streamer-out.c
@@ -524,11 +524,11 @@ streamer_write_chain (struct output_block *ob, tree t, bool ref_p)
/* We avoid outputting external vars or functions by reference
to the global decls section as we do not want to have them
enter decl merging. This is, of course, only for the call
- for streaming BLOCK_VARS, but other callers are safe. */
- /* ??? FIXME wrt SCC streaming. Drop these for now. */
+ for streaming BLOCK_VARS, but other callers are safe.
+ See also lto-streamer-out.c:DFS_write_tree_body. */
if (VAR_OR_FUNCTION_DECL_P (t)
&& DECL_EXTERNAL (t))
- ; /* stream_write_tree_shallow_non_ref (ob, t, ref_p); */
+ stream_write_tree_shallow_non_ref (ob, t, ref_p);
else
stream_write_tree (ob, t, ref_p);