[flang-commits] [flang] [flang][OpenMP] Reject standalone block-associated variants (PR #213255)

via flang-commits flang-commits at lists.llvm.org
Sun Aug 2 22:02:30 PDT 2026


================
@@ -735,6 +737,19 @@ void OmpStructureChecker::Enter(const parser::OmpDirectiveSpecification &x) {
       }
     }
   }
+  if (!isDelimited && checkDefaultNoneInAssociatedLoop) {
+    OmpVariantMatchContext matchContext{context_};
+    if (currentWhenSelector_ &&
----------------
ssenthilnathan3 wrote:

Thanks for catching that! I'll handle the fallback/default variants as well and add a regression test.


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


More information about the flang-commits mailing list