https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99122
--- Comment #18 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 50220 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50220&action=edit patch I am testing the following for the inline issue for the last testcase, leaving the IPA CP one to you.