diff options
author | Joseph Myers <joseph@codesourcery.com> | 2008-02-26 00:11:06 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2008-02-26 00:11:06 +0000 |
commit | eb587f4f71b81ae9eb0951799ce22a21773a3c3b (patch) | |
tree | f6e1e829d7b9f92ea235eef8514884892da570b7 /gcc/testsuite/gcc.dg/pthread-init-2.c | |
parent | 683d6ff954e871028b34e8bd5e9fdda491ec2cbf (diff) | |
download | gcc-eb587f4f71b81ae9eb0951799ce22a21773a3c3b.zip gcc-eb587f4f71b81ae9eb0951799ce22a21773a3c3b.tar.gz gcc-eb587f4f71b81ae9eb0951799ce22a21773a3c3b.tar.bz2 |
target-supports.exp (check_effective_target_pthread_h): New.
* lib/target-supports.exp (check_effective_target_pthread_h): New.
* gcc.dg/pthread-init-1.c, gcc.dg/pthread-init-2.c: Use
dg-require-effective-target pthread_h.
From-SVN: r132650
Diffstat (limited to 'gcc/testsuite/gcc.dg/pthread-init-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pthread-init-2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pthread-init-2.c b/gcc/testsuite/gcc.dg/pthread-init-2.c index 6fc427f..2e1b93a 100644 --- a/gcc/testsuite/gcc.dg/pthread-init-2.c +++ b/gcc/testsuite/gcc.dg/pthread-init-2.c @@ -5,6 +5,7 @@ */ /* { dg-do compile } */ +/* { dg-require-effective-target pthread_h } */ /* { dg-options "-Wextra -Wall -ansi" } */ /* { dg-options "-Wextra -Wall -ansi -D_POSIX_C_SOURCE=199506L" { target { *-*-hpux* *-*-solaris2.5.1 } } } */ |