[flang-commits] [flang] [flang] Fix exposed "free" instances of ac-implied-do indices (PR #178516)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Fri Jan 30 08:04:17 PST 2026


================
@@ -358,13 +394,15 @@ class IsInitialDataTargetHelper
     return false;
   }
 
-  parser::ContextualMessages *messages_;
+  parser::ContextualMessages *messages_{nullptr};
+  const FoldingContext *context_{nullptr};
   bool emittedMessage_{false};
+  std::set<parser::CharBlock> acImpliedDos_;
----------------
eugeneepshteyn wrote:

This is used in `IsConstantExprHelper`, but not in `IsInitialDataTargetHelper`, right?

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


More information about the flang-commits mailing list