aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pthread-init-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pthread-init-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/pthread-init-1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pthread-init-1.c b/gcc/testsuite/gcc.dg/pthread-init-1.c
index 2f78844fe1f..8b600c3fb87 100644
--- a/gcc/testsuite/gcc.dg/pthread-init-1.c
+++ b/gcc/testsuite/gcc.dg/pthread-init-1.c
@@ -7,6 +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 } } */
#include "pthread-init-common.h"