summaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-12 14:41:12 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-12 14:41:12 +0000
commitda4b8721c7fe54cb8c7abf825f4a63b145a4479e (patch)
treed78ee153e238e22c85b9ff00c282bd8ba1090418 /gcc/lto
parentb5967443486ef802f2846ffa2baa0835a1bcf063 (diff)
downloadgcc-da4b8721c7fe54cb8c7abf825f4a63b145a4479e.tar.gz
* cgraph.c (verify_edge_corresponds_to_fndecl): Be lax about
decl has when in streaming stage. * lto-symtab.c (lto_symtab_merge_symbols): Likewise. * cgraph.h (cgraph_state): Add CGRAPH_LTO_STREAMING. * lto.c (read_cgraph_and_symbols): Set cgraph into streaming state. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200018 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog4
-rw-r--r--gcc/lto/lto.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 216882afd13..4b36f440ca4 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,5 +1,9 @@
2013-06-12 Jan Hubicka <jh@suse.cz>
+ * lto.c (read_cgraph_and_symbols): Set cgraph into streaming state.
+
+2013-06-12 Jan Hubicka <jh@suse.cz>
+
* lto.c (register_resolution): Take lto_file_data argument.
(lto_register_var_decl_in_symtab,
lto_register_function_decl_in_symtab): Update.
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index a4c5d29e974..c756c31a19c 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -2891,6 +2891,7 @@ read_cgraph_and_symbols (unsigned nfiles, const char **fnames)
/* True, since the plugin splits the archives. */
gcc_assert (num_objects == nfiles);
}
+ cgraph_state = CGRAPH_LTO_STREAMING;
tree_with_vars = htab_create_ggc (101, htab_hash_pointer, htab_eq_pointer,
NULL);