* Remove VxWorks-specific test directives in g++.dg/warn/miss-format-1.C
@ 2020-12-22 21:42 Alexandre Oliva
2020-12-29 18:35 ` Mike Stump
0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Oliva @ 2020-12-22 21:42 UTC (permalink / raw)
To: gcc-patches; +Cc: Jerome Lambourg
These are no longer applicable.
Regstrapped on x86_64-linux-gnu, and tested with -x-arm-wrs-vxworks7r2.
Ok to install?
from Jerome Lambourg <lambourg@adacore.com>
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 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);
}
--
Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/
Free Software Activist GNU Toolchain Engineer
Vim, Vi, Voltei pro Emacs -- GNUlius Caesar
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Remove VxWorks-specific test directives in g++.dg/warn/miss-format-1.C
2020-12-22 21:42 Remove VxWorks-specific test directives in g++.dg/warn/miss-format-1.C Alexandre Oliva
@ 2020-12-29 18:35 ` Mike Stump
0 siblings, 0 replies; 2+ messages in thread
From: Mike Stump @ 2020-12-29 18:35 UTC (permalink / raw)
To: Alexandre Oliva; +Cc: gcc-patches, Jerome Lambourg
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-29 18:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-22 21:42 Remove VxWorks-specific test directives in g++.dg/warn/miss-format-1.C Alexandre Oliva
2020-12-29 18:35 ` Mike Stump
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).