https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60924
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|UNCONFIRMED |RESOLVED --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is not going to change. clang implements it this way too. As mentioned GCC is consistent with itself here in that function attributes apply for both.