diff options
author | Jan Hubicka <jh@suse.cz> | 2013-06-12 16:41:12 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-06-12 14:41:12 +0000 |
commit | ca0f62a888b8dab2761501f7b5452ad354e19c00 (patch) | |
tree | d78ee153e238e22c85b9ff00c282bd8ba1090418 /gcc/lto | |
parent | 5c3decfd177102539ce87838154f30d01e30a41b (diff) | |
download | gcc-ca0f62a888b8dab2761501f7b5452ad354e19c00.zip gcc-ca0f62a888b8dab2761501f7b5452ad354e19c00.tar.gz gcc-ca0f62a888b8dab2761501f7b5452ad354e19c00.tar.bz2 |
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
Diffstat (limited to 'gcc/lto')
-rw-r--r-- | gcc/lto/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/lto/lto.c | 1 |
2 files changed, 5 insertions, 0 deletions
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 <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 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); |