[all-commits] [llvm/llvm-project] f2f619: [flang] Always create HostAssocDetails for host ob...
jeanPerier via All-commits
all-commits at lists.llvm.org
Tue Aug 10 03:39:16 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f2f6190960ee77e132b75ea2d92ce362e9a74b9a
https://github.com/llvm/llvm-project/commit/f2f6190960ee77e132b75ea2d92ce362e9a74b9a
Author: Jean Perier <jperier at nvidia.com>
Date: 2021-08-10 (Tue, 10 Aug 2021)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/symbol03.f90
Log Message:
-----------
[flang] Always create HostAssocDetails for host object symbols with UseDetails
https://reviews.llvm.org/D105464 did not correctly cover the case
where the symbol from the host procedure is use associated. Outside
of the mis-parsed ArrayRef case, flang was also creating a symbol with
HostAssociated details inside the internal procedure (pointing to the
use associated symbol in the host). That is what lowering expects.
This patch ensures the same logic is applied in the mis-parsed array-ref name
resolution (and the pointer target name resolution).
Differential Revision: https://reviews.llvm.org/D107759
More information about the All-commits
mailing list