re PR ipa/92357 (ICE in IPA pass fnsummary in openmp offload)
authorJakub Jelinek <jakub@redhat.com>
Sat, 14 Dec 2019 11:19:07 +0000 (12:19 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 14 Dec 2019 11:19:07 +0000 (12:19 +0100)
commit16570c12c91dc25beac2f96cf8b9d9b5ccd3cef3
treef55691f6fe8eecfde229f1a2058529d442c1fe80
parent813b70a17b0cf8056b3005c3cdb882d522e02d84
re PR ipa/92357 (ICE in IPA pass fnsummary in openmp offload)

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.

From-SVN: r279395
gcc/ChangeLog
gcc/ipa-fnsummary.c