[flang-commits] [flang] [flang][OpenACC] Relax COMMON block usage restriction in OpenACC directives (PR #162659)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Thu Oct 16 13:20:28 PDT 2025
================
@@ -283,6 +305,7 @@ class Scope {
std::list<Scope> children_;
mapType symbols_;
mapType commonBlocks_;
+ mapType commonBlockUses_; // USE-assocated COMMON blocks
----------------
eugeneepshteyn wrote:
Having the data member makes it more convenient and avoid disturbing the code that assumes that `commonBlocks_` only contain symbols with `CommonBlockDetails`. The previous iteration of this PR had guards around various places to ignore `UseDetails` and that seemed inelegant.
https://github.com/llvm/llvm-project/pull/162659
More information about the flang-commits
mailing list