https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118005
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Incorrect diagnostic |Diagnostic for mixing noipa |combining [[gnu::noipa]] |and inline mentions nonline |and inline |rather noipa --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So noipa implies noinline. The diagnostic is correct and is wanted. On the question of using -Wattribute or it's own flag, I think we don't want to do that. Since the fix is to remove inline keywords.