summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-18 21:14:58 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-18 21:14:58 +0000
commit1ffaae391f9c0df90f6f9d0874144124463a757e (patch)
tree5ebe08558fb7cb5742b610d80549e59c45989bb7 /gcc/testsuite/c-c++-common
parent6bd291cd90502cd231b33e1c86a028991225a52a (diff)
downloadgcc-1ffaae391f9c0df90f6f9d0874144124463a757e.tar.gz
* lib/target-supports.exp (check_effective_target_cilkplus): Not nvptx.
* c-c++-common/attr-simd-3.c: Require cilkplus. * gcc.dg/graphite/id-28.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231838 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/c-c++-common')
-rw-r--r--gcc/testsuite/c-c++-common/attr-simd-3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/testsuite/c-c++-common/attr-simd-3.c b/gcc/testsuite/c-c++-common/attr-simd-3.c
index ff8851568ac..56552bd7e08 100644
--- a/gcc/testsuite/c-c++-common/attr-simd-3.c
+++ b/gcc/testsuite/c-c++-common/attr-simd-3.c
@@ -1,6 +1,5 @@
-/* { dg-do compile } */
+/* { dg-do compile { target cilkplus } } */
/* { dg-options "-fcilkplus" } */
/* { dg-prune-output "undeclared here \\(not in a function\\)|\[^\n\r\]* was not declared in this scope" } */
-/* { dg-require-effective-target pthread } */
void f () __attribute__((__simd__, __vector__)); /* { dg-error "in the same function marked as a Cilk Plus" "PR68158" } */