diff options
author | Peter Klausler <pklausler@nvidia.com> | 2023-06-21 11:37:53 -0700 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2023-06-22 07:35:12 -0700 |
commit | ce8effc88aafa406d5fa5894abfa6fe9860b9c79 (patch) | |
tree | feaa033505c7b87a4a03b690bfdfcd0818ef8ba5 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 252d1c48c4c0be3c72de7cb6b972a75c771dde72 (diff) | |
download | llvm-ce8effc88aafa406d5fa5894abfa6fe9860b9c79.zip llvm-ce8effc88aafa406d5fa5894abfa6fe9860b9c79.tar.gz llvm-ce8effc88aafa406d5fa5894abfa6fe9860b9c79.tar.bz2 |
[flang] Fix USE with homonymous renaming
Fortran requires that a USE with renaming prevent the USE'd symbol
from also being associated into a scope without renaming. The
implementation in name resolution gets confused in the case of
a USE with renaming using the same name ("x => x"). Clean things
up. Fixes LLVM bug https://github.com/llvm/llvm-project/issues/63397.
Differential Revision: https://reviews.llvm.org/D153452
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions