[flang-commits] [PATCH] D109156: [flang] Extend common block size to cover equivalence storage

Eric Schweitz via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Sep 7 09:04:39 PDT 2021


schweitz added inline comments.


================
Comment at: flang/lib/Semantics/compute-offsets.cpp:157
     if (iter == dependents_.end()) {
-      // Get full extent of any EQUIVALENCE block into size of COMMON
-      auto eqIter{equivalenceBlock_.find(symbol)};
+      auto eqIter = equivalenceBlock_.find(symbol);
       if (eqIter != equivalenceBlock_.end()) {
----------------
Did you mean to create a second `eqIter`? Maybe a different name would help?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109156/new/

https://reviews.llvm.org/D109156



More information about the flang-commits mailing list