[flang-commits] [PATCH] D136996: [flang] Catch attempts to do anything with statement functions other than call them

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Oct 28 15:49:54 PDT 2022


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

A statement function in Fortran may be called, but it may not be the target
of a procedure pointer or passed as an actual argument.


https://reviews.llvm.org/D136996

Files:
  flang/lib/Semantics/check-call.cpp
  flang/lib/Semantics/pointer-assignment.cpp
  flang/test/Semantics/assign03.f90
  flang/test/Semantics/call02.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136996.471677.patch
Type: text/x-patch
Size: 4438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221028/ab8d5df0/attachment-0001.bin>


More information about the flang-commits mailing list