https://gcc.gnu.org/g:cc02ebfcfd0755b330c50a840ab713fedd6d8887

commit r14-10023-gcc02ebfcfd0755b330c50a840ab713fedd6d8887
Author: Alexandre Oliva <ol...@adacore.com>
Date:   Thu Apr 18 08:01:26 2024 -0300

    [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.

Diff:
---
 gcc/testsuite/c-c++-common/pr103798-2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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* } } } } } */

Reply via email to