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/cgraph.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/cgraph.c') diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 9ebe905..797d58a 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -2291,6 +2291,8 @@ verify_edge_corresponds_to_fndecl (struct cgraph_edge *e, tree decl) if (!decl || e->callee->global.inlined_to) return false; + if (cgraph_state == CGRAPH_LTO_STREAMING) + return false; node = cgraph_get_node (decl); /* We do not know if a node from a different partition is an alias or what it -- cgit v1.1