From 75df9435f3f1b3c0800b1b47ac2ebc143807b90b Mon Sep 17 00:00:00 2001 From: Jerome Lambourg Date: Thu, 31 Dec 2020 21:37:54 -0300 Subject: [PATCH] Remove VxWorks-specific test directives in g++.dg/warn/miss-format-1.C These are no longer applicable. for gcc/testsuite/ChangeLog * g++.dg/warn/miss-format-1.C: Remove vxworks-specific test directives. --- gcc/testsuite/g++.dg/warn/miss-format-1.C | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gcc/testsuite/g++.dg/warn/miss-format-1.C b/gcc/testsuite/g++.dg/warn/miss-format-1.C index 65a34282ad7..444afb64fcd 100644 --- a/gcc/testsuite/g++.dg/warn/miss-format-1.C +++ b/gcc/testsuite/g++.dg/warn/miss-format-1.C @@ -21,9 +21,7 @@ bar (const char *fmt, ...) { va_list ap; va_start (ap, fmt); - vscanf (fmt, ap); /* { dg-warning "candidate" "scanf attribute warning" { xfail *-*-vxworks* } } */ - /* VxWorks does not provide vscanf, either in kernel or RTP mode. */ - /* { dg-error "not declared" "" { target *-*-vxworks* } .-2 } */ + vscanf (fmt, ap); /* { dg-warning "candidate" "scanf attribute warning" } */ va_end (ap); } -- 2.30.2