aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMike Stump <mikestump@comcast.net>2016-01-04 19:06:07 +0000
committerMike Stump <mrs@gcc.gnu.org>2016-01-04 19:06:07 +0000
commit4cfa76e33c4b275383af250d367b33b66dc61e2a (patch)
tree062aedec83816248e7f7b4c0af4f4346acdc682d /gcc
parentd290b037604f596aad2d9d625b83b5ebd4078c1b (diff)
downloadgcc-4cfa76e33c4b275383af250d367b33b66dc61e2a.zip
gcc-4cfa76e33c4b275383af250d367b33b66dc61e2a.tar.gz
gcc-4cfa76e33c4b275383af250d367b33b66dc61e2a.tar.bz2
target-supports.exp (check_effective_target_cilkplus): cilkplus targets require pthreads.
* lib/target-supports.exp (check_effective_target_cilkplus): cilkplus targets require pthreads. From-SVN: r232062
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/target-supports.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1953ba5..5ffdcad 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-04 Mike Stump <mikestump@comcast.net>
+
+ * lib/target-supports.exp (check_effective_target_cilkplus):
+ cilkplus targets require pthreads.
+
2016-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
* gcc.target/powerpc/p9-permute.c: New test for xxperm code
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 9046ca4..08306df 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -1447,6 +1447,10 @@ proc check_effective_target_cilkplus { } {
return 0;
}
+ if { ! [check_effective_target_pthread] } {
+ return 0;
+ }
+
return 1
}