https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89256
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Target Milestone|--- |11.0 Resolution|--- |FIXED --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is implemented in GCC 11+. Note the cost of doing /1000 is too high so a call still happens. if you do /100, you get the inlined.