PR lto/81004
commit35c607837df294fbd8c477f5c814627ea0c46731
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Feb 2018 13:27:04 +0000 (6 13:27 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Feb 2018 13:27:04 +0000 (6 13:27 +0000)
tree23b2060ac12fe84d4040f663cbf34a555f1840e8
parentfac38b8b428935f6b8075dea35c6bd7752b593d8
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257412 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/lto/ChangeLog
gcc/lto/lto.c