https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92696
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > Also #pragma are considered statements. There is another issue like this > but instead using _Pragma . I should say some Pragmas are considered statements. See PR 90400 Which shows the similar issue but with _Pragma. In this case, these Pragmas are considered statements.