aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2019-06-05 20:32:24 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2019-06-05 14:32:24 -0600
commit388aa75412ffd1d4cd10dd53d012fdcc1ed47f67 (patch)
tree399fb6c46ef2ff82e0add34cec8511fcc45ace84 /gcc
parent2212ae955a8a8cb759a65ca06c2e5462924ed66c (diff)
downloadgcc-388aa75412ffd1d4cd10dd53d012fdcc1ed47f67.zip
gcc-388aa75412ffd1d4cd10dd53d012fdcc1ed47f67.tar.gz
gcc-388aa75412ffd1d4cd10dd53d012fdcc1ed47f67.tar.bz2
gcc_diag-11.c: Skip until -Wformat-diag has been committed.
gcc/testsuite/ChangeLog: * gcc.dg/format/gcc_diag-11.c: Skip until -Wformat-diag has been committed. From-SVN: r271975
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/format/gcc_diag-11.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c5d8c02..171fc8e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.dg/format/gcc_diag-11.c b/gcc/testsuite/gcc.dg/format/gcc_diag-11.c
index a976c7a..cc5cfd3 100644
--- a/gcc/testsuite/gcc.dg/format/gcc_diag-11.c
+++ b/gcc/testsuite/gcc.dg/format/gcc_diag-11.c
@@ -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. */