From 4cfa76e33c4b275383af250d367b33b66dc61e2a Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Mon, 4 Jan 2016 19:06:07 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/target-supports.exp | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1953ba5337ba..5ffdcaddb936 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-01-04 Mike Stump + + * lib/target-supports.exp (check_effective_target_cilkplus): + cilkplus targets require pthreads. + 2016-01-04 Michael Meissner * 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 9046ca4fb25e..08306df03a0e 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 } -- 2.47.2