From: Manuel López-Ibáñez Date: Mon, 21 Sep 2015 12:26:18 +0000 (+0000) Subject: Catch excess warning in gcc.dg/pragma-diag-5.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70b95cee5114e180bef9785b88e3c7153888978b;p=gcc.git Catch excess warning in gcc.dg/pragma-diag-5.c We xfail at emitting the correct location, but we still need to catch the warning. 2015-09-21 Manuel López-Ibáñez * gcc.dg/pragma-diag-5.c: Catch excess warning. From-SVN: r227967 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 82d67739ec4..287a822e73d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-09-21 Manuel López-Ibáñez + + * gcc.dg/pragma-diag-5.c: Fix excess warning. + 2015-09-21 Manuel López-Ibáñez PR middle-end/60832 diff --git a/gcc/testsuite/gcc.dg/pragma-diag-5.c b/gcc/testsuite/gcc.dg/pragma-diag-5.c index 64fe97fc3f0..18f0789f9df 100644 --- a/gcc/testsuite/gcc.dg/pragma-diag-5.c +++ b/gcc/testsuite/gcc.dg/pragma-diag-5.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ -#pragma GCC diagnostic /* { dg-warning "24:missing" "missing" { xfail *-*-* } } */ +#pragma GCC diagnostic /* { dg-warning "missing" "missing" } */ +/* { dg-warning "24:missing" "missing" { xfail *-*-* } 2 } */ #pragma GCC diagnostic warn /* { dg-warning "24:expected" } */