Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Disallow erroneous procedure declarations
When writing tests for a previous problem, I ran across situations where we were not producing error messages for declarations of specific procedures of generic interfaces where every other compiler I tested (except nvfotran) did. I added a check to CheckExtantExternal() and renamed it since it now checks for erroneous extant symbols generally. I also removed a call to this function from processing for ENTRY statements, since it seemed unnecessary and its presence caused bogus error messages. I also added some tests for erroneous declarations where we were not producing error messages. Differential Revision: https://reviews.llvm.org/D99111
- Loading branch information
1 parent
bde995c
commit e97d92f
Showing
2 changed files
with
35 additions
and
4 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