https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92357
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Dec 20 17:44:50 2019 New Revision: 279675 URL: https://gcc.gnu.org/viewcvs?rev=279675&root=gcc&view=rev Log: Backported from mainline 2019-12-14 Jakub Jelinek <ja...@redhat.com> PR ipa/92357 * ipa-fnsummary.c (ipa_fn_summary_write): Use lto_symtab_encoder_iterator with lsei_start_function_in_partition and lsei_next_function_in_partition instead of walking all cgraph nodes in encoder. Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/ipa-fnsummary.c