summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/teams_distribute_simd_default_messages.cpp
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2016-08-18 09:25:07 +0000
committerDiana Picus <diana.picus@linaro.org>2016-08-18 09:25:07 +0000
commit8b44bbc0778d5452bf69fc6ddf55ac0c15ad85e2 (patch)
tree630bcc6ae9fc56ff1683fda07de7843f0e34fdd8 /clang/test/OpenMP/teams_distribute_simd_default_messages.cpp
parent2402dd1e8251128b6893a5a42262604e9b2a406f (diff)
downloadbcm5719-llvm-8b44bbc0778d5452bf69fc6ddf55ac0c15ad85e2.tar.gz
bcm5719-llvm-8b44bbc0778d5452bf69fc6ddf55ac0c15ad85e2.zip
Revert "[OpenMP] Sema and parsing for 'teams distribute simd’ pragma"
This reverts commit r279003 as it breaks some of our buildbots (e.g. clang-cmake-aarch64-quick, clang-x86_64-linux-selfhost-modules). The error is in OpenMP/teams_distribute_simd_ast_print.cpp: clang: /home/buildslave/buildslave/clang-cmake-aarch64-quick/llvm/include/llvm/ADT/DenseMap.h:527: bool llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT, BucketT>::LookupBucketFor(const LookupKeyT&, const BucketT*&) const [with LookupKeyT = clang::Stmt*; DerivedT = llvm::DenseMap<clang::Stmt*, long unsigned int>; KeyT = clang::Stmt*; ValueT = long unsigned int; KeyInfoT = llvm::DenseMapInfo<clang::Stmt*>; BucketT = llvm::detail::DenseMapPair<clang::Stmt*, long unsigned int>]: Assertion `!KeyInfoT::isEqual(Val, EmptyKey) && !KeyInfoT::isEqual(Val, TombstoneKey) && "Empty/Tombstone value shouldn't be inserted into map!"' failed. llvm-svn: 279045
Diffstat (limited to 'clang/test/OpenMP/teams_distribute_simd_default_messages.cpp')
-rw-r--r--clang/test/OpenMP/teams_distribute_simd_default_messages.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/clang/test/OpenMP/teams_distribute_simd_default_messages.cpp b/clang/test/OpenMP/teams_distribute_simd_default_messages.cpp
deleted file mode 100644
index a6685b9202e..00000000000
--- a/clang/test/OpenMP/teams_distribute_simd_default_messages.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-// RUN: %clang_cc1 -verify -fopenmp %s
-
-void foo();
-
-int main(int argc, char **argv) {
- #pragma omp target
- #pragma omp teams distribute simd default // expected-error {{expected '(' after 'default'}}
- for (int i=0; i<200; i++) foo();
- #pragma omp target
- #pragma omp teams distribute simd default ( // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} expected-error {{expected ')'}} expected-note {{to match this '('}}
- for (int i=0; i<200; i++) foo();
- #pragma omp target
- #pragma omp teams distribute simd default () // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}}
- for (int i=0; i<200; i++) foo();
- #pragma omp target
- #pragma omp teams distribute simd default (none // expected-error {{expected ')'}} expected-note {{to match this '('}}
- for (int i=0; i<200; i++) foo();
- #pragma omp target
- #pragma omp teams distribute simd default (shared), default(shared) // expected-error {{directive '#pragma omp teams distribute simd' cannot contain more than one 'default' clause}}
- for (int i=0; i<200; i++) foo();
- #pragma omp target
- #pragma omp teams distribute simd default (x) // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}}
- for (int i=0; i<200; i++) foo();
-
- #pragma omp target
- #pragma omp teams distribute simd default(none)
- for (int i=0; i<200; i++) ++argc; // expected-error {{variable 'argc' must have explicitly specified data sharing attributes}}
-
- return 0;
-}
OpenPOWER on IntegriCloud