https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117789
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Component|c++ |ipa Target Milestone|--- |15.0 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Change main to f and try again. Main is special when it comes to the inliner since gcc knows it is only called once. Also the unreachable issue has been fixed on the trunk. Gcc inliner now ignores that for it's huersrics.