Changes
Summary
- [OPENMP]Fix sharing of threadprivate variables with TLS support. If the threadprivate variable is used in the copyin clause on inner parallel directive with TLS support, we capture this variable in all outer OpenMP scopes. It leads to the fact that in all scopes we're working with the original variable, not the threadprivate copies.
Change Type | Path in Repository | Path in Workspace |
---|---|---|
![]() | /cfe/trunk/lib/Sema/SemaOpenMP.cpp (diff) | clang.src/lib/Sema/SemaOpenMP.cpp |
![]() | /cfe/trunk/test/OpenMP/parallel_copyin_codegen.cpp (diff) | clang.src/test/OpenMP/parallel_copyin_codegen.cpp |