http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48914
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-29 15:31:03 UTC --- It seems, the warning is emitted *before* the pragma is actually processed in diagnostic_classify_diagnostic...