We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2edba5c commit 440fe5cCopy full SHA for 440fe5c
flang/lib/Semantics/check-declarations.cpp
@@ -2998,7 +2998,8 @@ void CheckHelper::CheckGlobalName(const Symbol &symbol) {
2998
} else if ((IsProcedure(symbol) || IsBlockData(symbol)) &&
2999
(IsProcedure(other) || IsBlockData(other)) &&
3000
(!(IsExternalProcedureDefinition(symbol) || GetMainEntry(&symbol)) ||
3001
- !(IsExternalProcedureDefinition(other) || GetMainEntry(&other)))) {
+ !(IsExternalProcedureDefinition(other) ||
3002
+ GetMainEntry(&other)))) {
3003
// Both are procedures/BLOCK DATA, not both definitions.
3004
// Note: GetMainEntry() above returns non-null in case symbol
3005
// is an alternate entry.
0 commit comments