https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004
--- Comment #25 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Tue Feb 6 13:27:04 2018 New Revision: 257412 URL: https://gcc.gnu.org/viewcvs?rev=257412&root=gcc&view=rev Log: PR lto/81004 * lto.c: Include builtins.h (register_resolution): Merge resolutions in case trees was merged across units. (lto_maybe_register_decl): Break out from ... (lto_read_decls): ... here. (unify_scc): Also register decls here. (read_cgraph_and_symbols): Sanity check that all resolutions was read. Modified: trunk/gcc/lto/ChangeLog trunk/gcc/lto/lto.c