diff options
author | Peter Klausler <pklausler@nvidia.com> | 2022-11-17 16:30:49 -0800 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2022-12-05 10:18:06 -0800 |
commit | 962863d988195917b7d2ccfb83a3a166e01ffc77 (patch) | |
tree | 9dd315d54175915d9d567067ef423cb9bca1b007 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | e31160155e484414db9177806ae9f0840c985b49 (diff) | |
download | llvm-962863d988195917b7d2ccfb83a3a166e01ffc77.zip llvm-962863d988195917b7d2ccfb83a3a166e01ffc77.tar.gz llvm-962863d988195917b7d2ccfb83a3a166e01ffc77.tar.bz2 |
[flang] Catch attempts to copy pointers in allocatables in PURE
In a pure context, a pointer acquired from an INTENT(IN) dummy argument
may not be copied. Catch the case in which the pointer is a component
of an allocatable component at some depth of nesting.
(This patch adds a new component iterator kind that is a variant of
a potential subobject component iterator; it visits all potential
subobject components, plus pointers, into which it does not descend.)
Differential Revision: https://reviews.llvm.org/D139161
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions