[all-commits] [llvm/llvm-project] bcad53: [flang] Add more qualification when creating names...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Wed Jun 15 14:22:35 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bcad53e13175ef4f98764c7fa3588a7915dffe62
https://github.com/llvm/llvm-project/commit/bcad53e13175ef4f98764c7fa3588a7915dffe62
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-06-15 (Wed, 15 Jun 2022)
Changed paths:
M flang/lib/Semantics/expression.cpp
M flang/test/Semantics/modfile39.f90
Log Message:
-----------
[flang] Add more qualification when creating names for compiler-generated USEs
When generic resolution finds its specific procedure in a module,
and that specific procedure is not use-associated into the local scope
(perhaps because it was PRIVATE, perhaps because the generic was
use-associated with ONLY:), we create a new use-association with
a renaming. The name constructed for this renaming needs to be
additionally qualified with the module name of the specific procedure
in order to avoid clashing with another specific of the same name
that may have previously been use-associated in the same way from
a distinct module.
Differential Revision: https://reviews.llvm.org/D127790
More information about the All-commits
mailing list