[PATCH] D113706: [flang] Allow implicit procedure pointers to associate with explicit procedures

Pete Steinfeld via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 11 14:48:38 PST 2021


PeteSteinfeld added a comment.

In D113706#3125573 <https://reviews.llvm.org/D113706#3125573>, @klausler wrote:

> We should not allow a procedure pointer with an implicit interface to be associated with a procedure that must be called only via on explicit interface, though.  Use characteristics::Procedure::CanBeCalledViaImplicitInterface() to be sure.

So we already know that the right hand side has an explicit interface.  I'm having trouble constructing a test case where a procedure has an explicit interface and also can't be called via an implicit interface.  @klausler, do you have an example?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113706



More information about the llvm-commits mailing list