https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118005
--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> --- We have been warning about noinline and inline since the noinline attribute was added back in r0-37987-g9162542e3d0cd2 . When noipa was added (r8-2213-g036ea39917b0ef) we had the same warning there. Since it is documented that noipa implies noinline attribute I am not sure if there is anything to be done for this diagnostic either. As far as the original thing dealing with boundaries go, having an function in a public header even though marked as noipa and inline, the boundary does not exist then because folks will do stuff to cause the noipa NOT being added.