https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39787
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Hmm, does the pragma happen before or after the attribute? Because I don't get an ICE on any recent GCC but the code is all rejected.