[flang-commits] [flang] [flang][OpenACC] Relax COMMON block usage restriction in OpenACC directives (PR #162659)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Thu Oct 16 13:50:44 PDT 2025
================
@@ -283,6 +305,7 @@ class Scope {
std::list<Scope> children_;
mapType symbols_;
mapType commonBlocks_;
+ mapType commonBlockUses_; // USE-assocated COMMON blocks
----------------
klausler wrote:
Well, "necessary" is probably too strong; you could rediscover those common blocks with USE-associated members pretty easily, but doing it just once (at the right time) and saving the results is probably best.
https://github.com/llvm/llvm-project/pull/162659
More information about the flang-commits
mailing list