[flang-commits] [PATCH] D103098: [flang] Fix recent regression (proc. dummy arg on ENTRY)
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Tue May 25 10:37:37 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd3495ffa5eba: [flang] Fix recent regression (proc. dummy arg on ENTRY) (authored by klausler).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103098/new/
https://reviews.llvm.org/D103098
Files:
flang/lib/Semantics/resolve-names.cpp
Index: flang/lib/Semantics/resolve-names.cpp
===================================================================
--- flang/lib/Semantics/resolve-names.cpp
+++ flang/lib/Semantics/resolve-names.cpp
@@ -3082,11 +3082,11 @@
dummy->name(), "Previous declaration of '%s'"_en_US);
}},
dummy->details());
- } else if (inExecutionPart_) {
- dummy = &MakeSymbol(*dummyName, ObjectEntityDetails{true});
- ApplyImplicitRules(*dummy);
} else {
dummy = &MakeSymbol(*dummyName, EntityDetails{true});
+ if (inExecutionPart_) {
+ ApplyImplicitRules(*dummy);
+ }
}
entryDetails.add_dummyArg(*dummy);
} else {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103098.347723.patch
Type: text/x-patch
Size: 722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210525/0a8ae578/attachment-0001.bin>
More information about the flang-commits
mailing list