[flang-commits] [flang] [flang][OpenMP] Fix construct privatization in default clause (PR #72510)
Kiran Chandramohan via flang-commits
flang-commits at lists.llvm.org
Thu Dec 21 02:22:42 PST 2023
================
@@ -426,14 +425,10 @@ void DataSharingProcessor::collectSymbols(
/*collectSymbols=*/true,
/*collectHostAssociatedSymbols=*/true);
for (Fortran::lower::pft::Evaluation &e : eval.getNestedEvaluations()) {
- if (e.hasNestedEvaluations())
+ if (e.hasNestedEvaluations() && !e.isConstruct())
----------------
kiranchandramohan wrote:
Why is it collected in non-constructs (like OpenMP)?
https://github.com/llvm/llvm-project/pull/72510
More information about the flang-commits
mailing list