[PATCH] D112381: [flang] Checks for pointers to intrinsic functions

Emil Kieri via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 24 09:41:55 PDT 2021


ekieri created this revision.
ekieri added reviewers: klausler, PeteSteinfeld, sscalpone.
Herald added a project: Flang.
ekieri requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.

Check that when a procedure pointer is initialised or assigned with an intrinsic
function, or when its interface is being defined by one, that intrinsic function
is unrestricted specific (listed in Table 16.2 of F'2018).

Mark intrinsics LGE, LGT, LLE, and LLT as restricted specific. Getting their
classifications right helps in designing the tests.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112381

Files:
  flang/lib/Evaluate/characteristics.cpp
  flang/lib/Evaluate/intrinsics.cpp
  flang/lib/Semantics/check-declarations.cpp
  flang/lib/Semantics/expression.cpp
  flang/test/Semantics/resolve46.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112381.381787.patch
Type: text/x-patch
Size: 7806 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211024/e9e02c91/attachment.bin>


More information about the llvm-commits mailing list