[flang-commits] [flang] [flang][Semantics] Accept multiple initialization of a COMMON block (PR #218529)

via flang-commits flang-commits at lists.llvm.org
Wed Sep 2 11:54:57 PDT 2026


mleair wrote:

Testing done so far:
- Full flang in-tree lit suite (flang/test/Semantics + flang/test/Lower, ~3100 tests) — clean, no failures or regressions across all design iterations.
- Internal regression testing against our standard Fortran conformance/compatibility test suites — no regressions attributable to this change; all flagged differences traced to pre-existing, unrelated issues.
- Manual verification of each behavioral case: duplicate acceptance, value conflicts, disjoint members, the BIND(C)-merge attribution fix, the equivalence-conflict fix, and the 0.0/-0.0 case.

I haven't run the separate llvm-test-suite project — happy to if there's a specific concern it would catch that the above wouldn't, but given this only affects a narrow, previously-hard-error diagnostic path (no behavior change for code that already compiled), I don't expect it to exercise anything new here.

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


More information about the flang-commits mailing list