In some circumstances, such as in compile-time array shape analysis,
clients of the utility function ResolveAssociations() don't really
want it to drill all of the way down to an assumed-rank dummy argument.
Add a variation, ResolveAssociationsExceptSelectRank(), that
will return a specific rank case's AssocEntity symbol instead.
This fixes a crash in subscript validation checking that stemmed from
deducing an incorrect number of lower and upper bound expressions
from a specific rank case association entity.
Details
Details
- Reviewers
vdonaldson - Commits
- rGaca9016bcde0: [flang] Fix crash on SELECT RANK
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo