[flang-commits] [PATCH] D140151: [flang] Check for another case of ambiguous generic resolution
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Dec 15 12:14:33 PST 2022
klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.
When specific procedures of a generic have dummy procedures,
underspecified actual procedures can match more than one specific
procedure. This can happen with actual procedures that are
externals with implicit interfaces, including the completely
unspecified case of a PROCEDURE() or EXTERNAL that doesn't even
differentiate between a subroutine and a function.
Generic resolution can already handle cases of ambiguous resolution
due to the use of NULL() actual arguments with no MOLD= arguments
to define their types. Extend the handling of ambiguous actual
arguments to include the case of underspecified actual procedures.
https://reviews.llvm.org/D140151
Files:
flang/include/flang/Semantics/expression.h
flang/lib/Semantics/expression.cpp
flang/test/Semantics/resolve63.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140151.483294.patch
Type: text/x-patch
Size: 5452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221215/70ffb053/attachment.bin>
More information about the flang-commits
mailing list