[PATCH] D113706: [flang] Allow implicit procedure pointers to associate with explicit procedures
Emil Kieri via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 14 13:24:11 PST 2021
ekieri added a comment.
Thanks for your efforts! Looks good to me, but please wait for Peter. I left a few suggestions inline that you could consider.
================
Comment at: flang/lib/Evaluate/tools.cpp:969
+ }
} else {
msg = "Procedure %s associated with incompatible procedure"
----------------
Nit: could be useful with a comment indicating that we have an "OK" path out of the function here, cf. ln 942.
It could also be useful if the error message mentioned which condition of 15.4.2.2 is violated. That would then apply to all checks through CanBeCalledViaImplicitInterface(), and I'd say it is better to land this patch first, and work on that as a follow-up (I could also help if you'd like). What do you think?
================
Comment at: flang/test/Semantics/assign03.f90:174
! 10.2.2.4(4)
subroutine s6
----------------
Nit: As you mention in the summary, these are additional tests for 10.2.2.4(3).
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