diff options
author | Peter Klausler <35819229+klausler@users.noreply.github.com> | 2023-11-13 16:24:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 16:24:43 -0800 |
commit | 94d47e6325fbbccc5adcadd41d4e0ea8ce126fec (patch) | |
tree | 8d8e88e11c618e6fd865a7e709a3a63e3b83605d /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 1c91d9bdea3b6c38e8fbce46ec8181a9c0aa26f8 (diff) | |
download | llvm-94d47e6325fbbccc5adcadd41d4e0ea8ce126fec.zip llvm-94d47e6325fbbccc5adcadd41d4e0ea8ce126fec.tar.gz llvm-94d47e6325fbbccc5adcadd41d4e0ea8ce126fec.tar.bz2 |
[flang] Catch nasty order-of-declarations case (#71881)
It is possible to declare the rank of an object after that object has
been used in the same specification part in a specification function
reference whose result or generic resolution may well have depended on
the object being apparently a scalar.
Catch this case, and emit a warning -- not an error, yet, due to fear of
false positives.
See the new test for examples.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions