diff options
author | Joachim Protze <protze@itc.rwth-aachen.de> | 2021-07-25 18:27:40 +0200 |
---|---|---|
committer | Joachim Protze <protze@itc.rwth-aachen.de> | 2021-07-25 18:56:36 +0200 |
commit | c46ccb8538c5c0b4724a842e110ad46d7e1b107a (patch) | |
tree | 3c8edbd5219ac0beda5a6013dfc0a60707af9c5c /openmp/tools | |
parent | b95f66ad786b8f2814d4ef4373e8ac3902e6f62a (diff) | |
download | llvm-c46ccb8538c5c0b4724a842e110ad46d7e1b107a.tar.gz |
[OpenMP][tests][NFC] Update test status for gcc 11 and 12
gcc 11 introduced support for depend clause, but the gomp interface of libomp
does not yet handle the information.
Also remove -fopenmp-version=50, which is no longer needed for clang, but not
supported by gcc.
Diffstat (limited to 'openmp/tools')
-rw-r--r-- | openmp/tools/archer/tests/task/task_early_fulfill.c | 6 | ||||
-rw-r--r-- | openmp/tools/archer/tests/task/task_late_fulfill.c | 12 |
2 files changed, 11 insertions, 7 deletions
diff --git a/openmp/tools/archer/tests/task/task_early_fulfill.c b/openmp/tools/archer/tests/task/task_early_fulfill.c index 0990b36e47ad..5b5f45e0b079 100644 --- a/openmp/tools/archer/tests/task/task_early_fulfill.c +++ b/openmp/tools/archer/tests/task/task_early_fulfill.c @@ -2,8 +2,10 @@ // RUN: %libarcher-run //| FileCheck %s -// Checked gcc 9.2 still does not support detach clause on task construct. -// UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7, gcc-8, gcc-9 +// Checked gcc 10.1 still does not support detach clause on task construct. +// UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7, gcc-8, gcc-9, gcc-10 +// gcc 11 introduced detach clause, but gomp interface in libomp has no support +// XFAIL: gcc-11, gcc-12 // clang supports detach clause since version 11. // UNSUPPORTED: clang-10, clang-9, clang-8, clang-7 // icc compiler does not support detach clause. diff --git a/openmp/tools/archer/tests/task/task_late_fulfill.c b/openmp/tools/archer/tests/task/task_late_fulfill.c index d27409245e7e..31d096deec75 100644 --- a/openmp/tools/archer/tests/task/task_late_fulfill.c +++ b/openmp/tools/archer/tests/task/task_late_fulfill.c @@ -1,8 +1,10 @@ // RUN: %libarcher-compile -fopenmp-version=50 && env OMP_NUM_THREADS='3' \ // RUN: %libarcher-run-race | FileCheck %s -// Checked gcc 9.2 still does not support detach clause on task construct. -// UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7, gcc-8, gcc-9 +// Checked gcc 10.1 still does not support detach clause on task construct. +// UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7, gcc-8, gcc-9, gcc-10 +// gcc 11 introduced detach clause, but gomp interface in libomp has no support +// XFAIL: gcc-11, gcc-12 // clang supports detach clause since version 11. // UNSUPPORTED: clang-10, clang-9, clang-8, clang-7 // icc compiler does not support detach clause. @@ -45,10 +47,10 @@ int main() { } // no race for a++ in line 32: -// CHECK-NOT: #0 {{.*}}task_late_fulfill.c:35 +// CHECK-NOT: #0 {{.*}}task_late_fulfill.c:37 // CHECK: WARNING: ThreadSanitizer: data race // CHECK-NEXT: {{(Write|Read)}} of size 4 -// CHECK-NEXT: #0 {{.*}}task_late_fulfill.c:31 +// CHECK-NEXT: #0 {{.*}}task_late_fulfill.c:33 // CHECK: Previous write of size 4 -// CHECK-NEXT: #0 {{.*}}task_late_fulfill.c:40 +// CHECK-NEXT: #0 {{.*}}task_late_fulfill.c:42 |