Commit 4cfa76e3 by Mike Stump Committed by Mike Stump

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
parent d290b037
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> 2016-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
* gcc.target/powerpc/p9-permute.c: New test for xxperm code * gcc.target/powerpc/p9-permute.c: New test for xxperm code
......
...@@ -1447,6 +1447,10 @@ proc check_effective_target_cilkplus { } { ...@@ -1447,6 +1447,10 @@ proc check_effective_target_cilkplus { } {
return 0; return 0;
} }
if { ! [check_effective_target_pthread] } {
return 0;
}
return 1 return 1
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment