Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Check for another case of ambiguous generic resolution
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. Differential Revision: https://reviews.llvm.org/D140151
- Loading branch information
Showing
3 changed files
with
30 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters