]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[testsuite] xfail pr103798-2 in C++ on vxworks too [PR113706]
authorAlexandre Oliva <oliva@adacore.com>
Thu, 18 Apr 2024 11:01:26 +0000 (08:01 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 18 Apr 2024 11:11:44 +0000 (08:11 -0300)
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.

gcc/testsuite/c-c++-common/pr103798-2.c

index bc126c205e1e313956fe3056c1629d4c8f0304d2..83cdfaa1660bb3df71dd80a3a1aec4dcf6516f6d 100644 (file)
@@ -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* } } } } } */