Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Catch impure defined assignments in DO CONCURRENT
The semantic checking of DO CONCURRENT bodies looks only at the parse tree, not the typed expressions produced from it, so it misses calls to defined assignment subroutines that arise from assignment statements that resolve via generic interfaces into subroutine calls. Extend the checking to peek into the typed assignment operations left on the parse tree by semantics. Differential Revision: https://reviews.llvm.org/D146585
- Loading branch information
Showing
2 changed files
with
45 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