https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97508
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Martin Liska <mar...@gcc.gnu.org>: https://gcc.gnu.org/g:32d16af0c4ede8d008d4360cca7c805db518166f commit r10-8954-g32d16af0c4ede8d008d4360cca7c805db518166f Author: Martin Liska <mli...@suse.cz> Date: Wed Oct 21 11:11:03 2020 +0200 LTO: get_section: add new argument gcc/ChangeLog: PR lto/97508 * langhooks.c (lhd_begin_section): Call get_section with not_existing = true. * output.h (get_section): Add new argument. * varasm.c (get_section): Fail when NOT_EXISTING is true and a section already exists. * ipa-cp.c (ipcp_write_summary): Remove. (ipcp_read_summary): Likewise. * ipa-fnsummary.c (ipa_fn_summary_read): Always read jump functions summary. (ipa_fn_summary_write): Always stream it. (cherry picked from commit 568de14d2e74cfdd600b8995ff6ac08c98ddef48)