Message ID | orh7odh60n.fsf@lxoliva.fsfla.org |
---|---|
State | New |
Headers | show |
Series | Remove VxWorks-specific test directives in g++.dg/warn/miss-format-1.C | expand |
On Dec 22, 2020, at 1:42 PM, Alexandre Oliva <oliva@adacore.com> wrote: > > These are no longer applicable. > > Regstrapped on x86_64-linux-gnu, and tested with -x-arm-wrs-vxworks7r2. > Ok to install? Ok.
diff --git a/gcc/testsuite/g++.dg/warn/miss-format-1.C b/gcc/testsuite/g++.dg/warn/miss-format-1.C index 65a34282ad784..444afb64fcd1b 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); }