diff options
author | Peter Klausler <35819229+klausler@users.noreply.github.com> | 2023-09-13 16:13:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 16:13:31 -0700 |
commit | 4fed5959974e4a85504667ce47ef03234dd9aec6 (patch) | |
tree | b8b28a77a87b578ecb125748f27c2640f4888ce4 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9a220dc6abd6ceeef3ca741b7d9a281bf05dbfd2 (diff) | |
download | llvm-4fed5959974e4a85504667ce47ef03234dd9aec6.zip llvm-4fed5959974e4a85504667ce47ef03234dd9aec6.tar.gz llvm-4fed5959974e4a85504667ce47ef03234dd9aec6.tar.bz2 |
[flang] Correct semantic representation & handling of RANK(*) (#66234)
A RANK(*) case in a SELECT RANK construct selects the case of an
assumed-rank dummy argument whose effective actual argument is an
assumed-size array. In this case, the attributes of the selector are
those of a rank-1 assumed-size array, and the selector cannot be
allocatable or a pointer.
Ensure that the representation of a SELECT RANK construct's per-case
AssocEntityDetails can distinguish RANK(n), RANK(*), and RANK DEFAULT,
and clean up various code sites and tests where the distinctions matter.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions