https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60875
--- Comment #6 from Nikita Kniazev <nok.raven at gmail dot com> --- > Those pragmas are all extensions, so the standard doesn't cover them. There was a Clang bug report recently with a pretty much same code I had posted previously and Clang developers said that it is ill-formed with a reference to the C11 standard https://bugs.llvm.org/show_bug.cgi?id=41514#c1