================ @@ -3358,14 +3396,17 @@ genOMP(Fortran::lower::AbstractConverter &converter, .t); // Currently only private/firstprivate clause is handled, and // all privatization is done within `omp.section` operations. + symTable.pushScope(); ---------------- skatrak wrote:
Why is an additional scope added for this construct? It looks like it wasn't done before. If it's needed, maybe you could update the description of the PR and remove the NFC tag, or move this change into a later PR. https://github.com/llvm/llvm-project/pull/77758 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits