https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103246
--- Comment #24 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to CVS Commits from comment #12) > The master branch has been updated by Jan Hubicka <hubi...@gcc.gnu.org>: > > https://gcc.gnu.org/g:8c693978dd64b16637577ebf50c760053d7d2165 > > commit r12-5328-g8c693978dd64b16637577ebf50c760053d7d2165 > Author: Jan Hubicka <j...@suse.cz> > Date: Wed Nov 17 01:43:57 2021 +0100 > > Fix clearing of to_info_lto in ipa_merge_modref_summary_after_inlining > > This patch fixes bug that caused some optimizations to be dropped with > -fdump-ipa-inline. > > gcc/ChangeLog: > > 2021-11-17 Jan Hubicka <hubi...@ucw.cz> > > PR ipa/103246 > * ipa-modref.c (ipa_merge_modref_summary_after_inlining): Fix > clearing > of to_info_lto Can you please backport this to GCC 11?