-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Don't implicitly host-associate unknown EQUIVALENCE designators
When resolving names in a specification part, unknown names that appear in a specification expression before any local declaration are assumed to be implicitly declared objects in the host scope. Objects in EQUIVALENCE sets are not part of specification expressions, so ensure that they do not receive this treatment; besides being wrong and unimplementable, it will lead to a later crash during offset assignment. Differential Revision: https://reviews.llvm.org/D159030
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 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