https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68499
--- Comment #1 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> --- Well, actually the pragma is ignored in all cases. The fix was to set the default to OFF in the standard modes. So, currently, one should get a warning in non-standard modes.