]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
target-supports.exp (check_effective_target_cilkplus): cilkplus targets require pthreads.
authorMike Stump <mikestump@comcast.net>
Mon, 4 Jan 2016 19:06:07 +0000 (19:06 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Mon, 4 Jan 2016 19:06:07 +0000 (19:06 +0000)
* lib/target-supports.exp (check_effective_target_cilkplus):
cilkplus targets require pthreads.

From-SVN: r232062

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index 1953ba5337ba1f0e10d69301db246022c526fce9..5ffdcaddb936b3788bb404bc35545487922ff443 100644 (file)
@@ -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
index 9046ca4fb25e32ca3b1db9ce91ac9394d6203d94..08306df03a0ed6e6a475c26b22eb1dd433d2eb63 100644 (file)
@@ -1447,6 +1447,10 @@ proc check_effective_target_cilkplus { } {
        return 0;
     }
 
+    if { ! [check_effective_target_pthread] } {
+       return 0;
+    }
+
     return 1
 }