]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove VxWorks-specific test directives in g++.dg/warn/miss-format-1.C
authorJerome Lambourg <lambourg@adacore.com>
Fri, 1 Jan 2021 00:37:54 +0000 (21:37 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Fri, 1 Jan 2021 04:59:32 +0000 (01:59 -0300)
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

index 65a34282ad784faededd1d6d17cf24352c8f7822..444afb64fcd1b1568f878f24725b2d77e365f9e9 100644 (file)
@@ -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);
 }