[flang-commits] [flang] [flang][OpenMP] Add semantics test: named COMMON + member with firstprivate+lastprivate is valid (PR #162234)

Krish Gupta via flang-commits flang-commits at lists.llvm.org
Wed Oct 15 15:45:12 PDT 2025


KrxGu wrote:

@tblah Thanks for the review! I've addressed both comments:

1.  Added `-fopenmp-version=51` to gate the test to OpenMP 5.1+
2.  Added an explanatory comment documenting this as a regression test for #162033

**Note on CI fix:** I also removed the `CHECK-NOT: warning:` line because Flang emits an informational warning about incomplete OpenMP 5.1 support. The test still validates that no semantic errors occur via `CHECK-NOT: error:`.

CI is all green, good to merge!!

https://github.com/llvm/llvm-project/pull/162234


More information about the flang-commits mailing list