]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc_diag-11.c: Skip until -Wformat-diag has been committed.
authorMartin Sebor <msebor@redhat.com>
Wed, 5 Jun 2019 20:32:24 +0000 (20:32 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Wed, 5 Jun 2019 20:32:24 +0000 (14:32 -0600)
gcc/testsuite/ChangeLog:

* gcc.dg/format/gcc_diag-11.c: Skip until -Wformat-diag has
been committed.

From-SVN: r271975

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/format/gcc_diag-11.c

index c5d8c02d3b4ed3cd8eebfc3495ae51e148e15499..171fc8eda3c0b768aa17372e4a47c9f6549cb3c7 100644 (file)
@@ -1,3 +1,8 @@
+2019-06-05  Martin Sebor  <msebor@redhat.com>
+
+       * gcc.dg/format/gcc_diag-11.c: Skip until -Wformat-diag has
+       been committed.
+
 2019-06-05  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * g++.dg/diagnostic/return-type-invalid-1.C: New.
index a976c7aa5191373648bb9ca06f605c54e69ab1ca..cc5cfd368cfdccf443450da4bf6e60657ef262ff 100644 (file)
@@ -1,7 +1,8 @@
 /* Test warnings for common punctuation, quoting, and spelling issues
    in GCC diagnostics.
    { dg-do compile }
-   { dg-options "-Wformat -Wformat-diag" } */
+   { dg-options "-Wformat -Wformat-diag" }
+   { dg-skip-if "-Wformat-diag not available yet" { *-*-* } }
 
 /* Magic identifiers must be set before the attribute is used.  */