[flang-commits] [flang] [Flang][OpenMP] Fix implicit symbol resolution for USE-renamed arrays (PR #189215)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Thu Apr 2 02:44:15 PDT 2026


================
@@ -1748,10 +1757,10 @@ void AccAttributeVisitor::CheckAssociatedLoop(
   using Bounds = parser::LoopControl::Bounds;
   for (const parser::DoConstruct *loop{&outerDoConstruct}; loop && level > 0;) {
     // Go through all nested loops to ensure index variable exists.
-    if (const parser::Name * ivName{GetLoopIndex(*loop)}) {
+    if (const parser::Name *ivName{GetLoopIndex(*loop)}) {
----------------
kiranchandramohan wrote:

Nit: unrelated formatting change.

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


More information about the flang-commits mailing list