[flang-commits] [PATCH] D139136: [flang] Check constraint C1577 for statement functions

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Dec 1 12:31:39 PST 2022


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

Check most of the requiremens of constraint C1577 for statement functions.
The restrictions that prevent recursion are hard errors; the others seem
to be benign legacies and are caught as portability warnings.


https://reviews.llvm.org/D139136

Files:
  flang/include/flang/Evaluate/check-expression.h
  flang/include/flang/Semantics/expression.h
  flang/include/flang/Semantics/symbol.h
  flang/lib/Evaluate/check-expression.cpp
  flang/lib/Evaluate/tools.cpp
  flang/lib/Semantics/check-declarations.cpp
  flang/lib/Semantics/expression.cpp
  flang/lib/Semantics/resolve-names.cpp
  flang/test/Semantics/stmt-func01.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139136.479385.patch
Type: text/x-patch
Size: 13841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221201/11071a1b/attachment-0001.bin>


More information about the flang-commits mailing list