[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:47:59 PDT 2025
================
@@ -283,6 +305,7 @@ class Scope {
std::list<Scope> children_;
mapType symbols_;
mapType commonBlocks_;
+ mapType commonBlockUses_; // USE-assocated COMMON blocks
----------------
klausler wrote:
I think I had a bad assumption there about the common block USE associations being in the normal symbol map. No, they aren't, and they can't be. So the new data member seems necessary.
https://github.com/llvm/llvm-project/pull/162659
More information about the flang-commits
mailing list