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

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Sep 16 15:04:10 PDT 2021


klausler created this revision.
klausler added a reviewer: schweitz.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
klausler requested review of this revision.

Enforce constraints C1034 & C1038, which disallow the use
of otherwise valid statements as branch targets when they
appear in FORALL &/or WHERE constructs.  (And make the
diagnostic message somewhat more user-friendly.)


https://reviews.llvm.org/D109936

Files:
  flang/lib/Semantics/resolve-labels.cpp
  flang/test/Semantics/label05.f90
  flang/test/Semantics/label06.f90
  flang/test/Semantics/label07.f90
  flang/test/Semantics/label14.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109936.373089.patch
Type: text/x-patch
Size: 6220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210916/4cc3faf6/attachment-0001.bin>


More information about the flang-commits mailing list