From ca0f62a888b8dab2761501f7b5452ad354e19c00 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Wed, 12 Jun 2013 16:41:12 +0200 Subject: cgraph.c (verify_edge_corresponds_to_fndecl): Be lax about decl has when in streaming stage. * 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. From-SVN: r200018 --- gcc/lto/ChangeLog | 4 ++++ gcc/lto/lto.c | 1 + 2 files changed, 5 insertions(+) (limited to 'gcc/lto') diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 216882a..4b36f44 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,5 +1,9 @@ 2013-06-12 Jan Hubicka + * lto.c (read_cgraph_and_symbols): Set cgraph into streaming state. + +2013-06-12 Jan Hubicka + * 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 a4c5d29..c756c31 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); -- cgit v1.1