[flang-commits] [flang] [Flang][OpenMp] Fix to threadprivate not working with host-association. (PR #74966)
via flang-commits
flang-commits at lists.llvm.org
Sun Feb 4 11:10:43 PST 2024
================
@@ -1996,9 +1996,11 @@ static void threadPrivatizeVars(Fortran::lower::AbstractConverter &converter,
};
llvm::SetVector<const Fortran::semantics::Symbol *> threadprivateSyms;
- converter.collectSymbolSet(
- eval, threadprivateSyms,
- Fortran::semantics::Symbol::Flag::OmpThreadprivate);
+ // Considering Host associated symbols as well.
+ converter.collectSymbolSet(eval, threadprivateSyms,
----------------
NimishMishra wrote:
Thanks!
https://github.com/llvm/llvm-project/pull/74966
More information about the flang-commits
mailing list