diff options
author | Alexandre Oliva <oliva@adacore.com> | 2024-04-18 08:01:26 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2024-04-18 08:11:44 -0300 |
commit | cc02ebfcfd0755b330c50a840ab713fedd6d8887 (patch) | |
tree | 922d8e782782b707bb626431ac18fdfa71151ddb | |
parent | e965162bb9de6d2cd68cdc0e26dda56abd25fcdf (diff) | |
download | gcc-upstream-cc02ebfcfd0755b330c50a840ab713fedd6d8887.tar.gz |
[testsuite] xfail pr103798-2 in C++ on vxworks too [PR113706]
pr103798-2.c fails in C++ on targets that provide a ISO C++-compliant
declaration of memchr, because it mismatches the C-compatible builtin,
as per PR113706. Expect the C++ test to fail on vxworks as well.
for gcc/testsuite/ChangeLog
PR testsuite/113706
* c-c++-common/pr103798-2.c: XFAIL in C++ on vxworks too.
-rw-r--r-- | gcc/testsuite/c-c++-common/pr103798-2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/c-c++-common/pr103798-2.c b/gcc/testsuite/c-c++-common/pr103798-2.c index bc126c205e1..83cdfaa1660 100644 --- a/gcc/testsuite/c-c++-common/pr103798-2.c +++ b/gcc/testsuite/c-c++-common/pr103798-2.c @@ -28,4 +28,4 @@ main () } /* See PR c++/113706 for the xfail. */ -/* { dg-final { scan-assembler-not "memchr" { xfail { c++ && *-*-solaris2* } } } } */ +/* { dg-final { scan-assembler-not "memchr" { xfail { c++ && { *-*-solaris2* *-*-vxworks* } } } } } */ |