[flang-commits] [PATCH] D109936: [flang] Catch branching into FORALL/WHERE constructs

Diana Picus via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Sep 24 06:50:50 PDT 2021


rovka added a comment.

Shouldn't you add new testcases with forall and where (and while you're at it, maybe also with select and the others that aren't covered by these 4 tests)?



================
Comment at: flang/lib/Semantics/resolve-labels.cpp:230
+        parser::EndCriticalStmt, parser::EndDoStmt, parser::EndIfStmt,
+        parser::EndSelectStmt, parser::EndForallStmt, parser::EndWhereStmt>;
     using LabeledProgramUnitEndStmts =
----------------
Nitpick: I think this tuple was sorted alphabetically before.


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

https://reviews.llvm.org/D109936



More information about the flang-commits mailing list