diff options
author | Olivier Hainque <hainque@adacore.com> | 2021-01-01 01:54:57 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2021-01-01 01:54:57 -0300 |
commit | 6990be171feaf379659f866c0ef165b78da849f3 (patch) | |
tree | e929ed718ec6661ffe462808f352fcd588eda5a9 | |
parent | 0292de4582121f986da092ed0515e980054afb1f (diff) | |
download | gcc-6990be171feaf379659f866c0ef165b78da849f3.tar.gz |
Fix VxWorks xfail filters on pthread-init-?.c
Match xfail on kernel instead of rtp mode.
for gcc/testsuite/changeLog
* gcc.dg/pthread-init-1.c: Fix the VxWorks xfail filters.
* gcc.dg/pthread-init-2.c: Ditto.
-rw-r--r-- | gcc/testsuite/gcc.dg/pthread-init-1.c | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pthread-init-2.c | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/pthread-init-1.c b/gcc/testsuite/gcc.dg/pthread-init-1.c index 8b600c3fb87..3346c926c8e 100644 --- a/gcc/testsuite/gcc.dg/pthread-init-1.c +++ b/gcc/testsuite/gcc.dg/pthread-init-1.c @@ -7,9 +7,9 @@ /* { dg-do compile } */ /* { dg-require-effective-target pthread_h } */ /* { dg-options "-Wextra -Wall" } */ -/* The RTP definition of PTHREAD_MUTEX_INITIALIZER is missing an - * initializer for mutexAttr.mutexAttrType. */ -/* { dg-xfail-if "missing initializer" { vxworks_rtp } } */ +/* The definition of PTHREAD_MUTEX_INITIALIZER is missing an initializer for + mutexAttr.mutexAttrType in kernel mode for various VxWorks versions. */ +/* { dg-xfail-if "missing initializer" { vxworks_kernel } } */ #include "pthread-init-common.h" diff --git a/gcc/testsuite/gcc.dg/pthread-init-2.c b/gcc/testsuite/gcc.dg/pthread-init-2.c index 8ec0515ba26..d7cd66b5c02 100644 --- a/gcc/testsuite/gcc.dg/pthread-init-2.c +++ b/gcc/testsuite/gcc.dg/pthread-init-2.c @@ -9,6 +9,9 @@ /* { dg-options "-Wextra -Wall -ansi" } */ /* { dg-options "-Wextra -Wall -ansi -D_POSIX_C_SOURCE=199506L" { target { *-*-hpux* } } } */ /* { dg-options "-Wextra -Wall -ansi -D_XOPEN_SOURCE=500" { target { powerpc-ibm-aix* } } } */ +/* The definition of PTHREAD_MUTEX_INITIALIZER is missing an initializer for + mutexAttr.mutexAttrType in kernel mode for various VxWorks versions. */ +/* { dg-xfail-if "missing initializer" { vxworks_kernel } } */ #include "pthread-init-common.h" |