On Nov 4, 2015, at 1:02 PM, Manuel López-Ibáñez <lopeziba...@gmail.com> wrote:
> On 4 November 2015 at 09:45, Mike Stump <m...@mrs.kithrup.com> wrote:
>> in the top of the tree.  This is bad as the same line appears in a PASS: and 
>> an XFAIL:.  Each test case should be unique.  Should it be updated to 64?
> 
> I think it is sufficient to change it to:
> 
> /* { dg-warning "24:missing" "wrong column" { xfail *-*-* }  2 } */

I tested this out, works just fine.

2015-11-06  Mike Stump  <mikest...@comcast.net>

        * gcc.dg/pragma-diag-5.c: Make test cases unique.

Index: testsuite/gcc.dg/pragma-diag-5.c
===================================================================
--- testsuite/gcc.dg/pragma-diag-5.c    (revision 229885)
+++ testsuite/gcc.dg/pragma-diag-5.c    (working copy)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 #pragma GCC diagnostic /* { dg-warning "missing" "missing" } */
-/* { dg-warning "24:missing" "missing" { xfail *-*-* }  2 } */
+/* { dg-warning "24:missing" "wrong column" { xfail *-*-* }  2 } */
 
 #pragma GCC diagnostic warn /* { dg-warning "24:expected" } */
 
Committed revision 229891.

Thanks for your help.

Reply via email to