(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pthread-init-2.c
       1  /* Various Solaris versions have been known to have problems with the
       2   * pthread initialization macros when __STDC__ is defined.
       3   *
       4   * Origin: Kaveh Ghazi (ghazi@caip.rutgers.edu) 9/27/2006.
       5   */
       6  
       7  /* { dg-do compile } */
       8  /* { dg-require-effective-target pthread_h } */
       9  /* { dg-options "-Wextra -Wall -ansi" } */
      10  /* { dg-options "-Wextra -Wall -ansi -D_POSIX_C_SOURCE=199506L" { target { *-*-hpux* } } } */
      11  /* { dg-options "-Wextra -Wall -ansi -D_XOPEN_SOURCE=500" { target { powerpc-ibm-aix* } } } */
      12  /* The definition of PTHREAD_MUTEX_INITIALIZER is missing an initializer for
      13     mutexAttr.mutexAttrType in kernel mode for various VxWorks versions.  */
      14  /* { dg-xfail-if "missing initializer" { vxworks_kernel } } */
      15  
      16  #include "pthread-init-common.h"
      17