From 388aa75412ffd1d4cd10dd53d012fdcc1ed47f67 Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Wed, 5 Jun 2019 20:32:24 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/format/gcc_diag-11.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c5d8c02d3b4..171fc8eda3c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-06-05 Martin Sebor + + * gcc.dg/format/gcc_diag-11.c: Skip until -Wformat-diag has + been committed. + 2019-06-05 Paolo Carlini * 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 a976c7aa519..cc5cfd368cf 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. */ -- 2.30.2