[flang-commits] [flang] [mlir] [Flang][OpenMP] Add LLVM translation support for UNTIED clause in Task (PR #121052)
Thirumalai Shaktivel via flang-commits
flang-commits at lists.llvm.org
Tue Dec 24 06:33:49 PST 2024
Thirumalai-Shaktivel wrote:
I don't know how, but I get the following locally:
```
$ flang-new test/Semantics/OpenMP/task-united01.f90 -fopenmp
flang-20: warning: OpenMP support in flang is still experimental [-Wexperimental-option]
error: Semantic errors in test/Semantics/OpenMP/task-united01.f90
./test/Semantics/OpenMP/task-united01.f90:16:11: error: A THREADPRIVATE variable `var_01` cannot appear in a UNTIED TASK region
!$omp task untied
^^^^
./test/Semantics/OpenMP/task-united01.f90:16:11: error: A THREADPRIVATE variable `var_02` cannot appear in a UNTIED TASK region
!$omp task untied
^^^^
./test/Semantics/OpenMP/task-united01.f90:16:11: error: A THREADPRIVATE variable `var_01` cannot appear in a UNTIED TASK region
!$omp task untied
^^^^
./test/Semantics/OpenMP/task-united01.f90:23:11: error: A THREADPRIVATE variable `var_02` cannot appear in a UNTIED TASK region
!$omp task untied
^^^^
./test/Semantics/OpenMP/task-united01.f90:23:11: error: A THREADPRIVATE variable `var_03` cannot appear in a UNTIED TASK region
!$omp task untied
^^^^
```
The check-flang works as well.
https://github.com/llvm/llvm-project/pull/121052
More information about the flang-commits
mailing list