diff options
author | Peter Klausler <pklausler@nvidia.com> | 2025-02-27 14:27:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-27 14:27:19 -0800 |
commit | 9a49a03dc95bdd2b6ef4807291136eca46370517 (patch) | |
tree | 783778fde0c3528b86f4191f419a66b8b1537c9b /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 4fcab8a587c5932c70d66481726dc14167273670 (diff) | |
download | llvm-9a49a03dc95bdd2b6ef4807291136eca46370517.zip llvm-9a49a03dc95bdd2b6ef4807291136eca46370517.tar.gz llvm-9a49a03dc95bdd2b6ef4807291136eca46370517.tar.bz2 |
[flang] Refine handling of NULL() actual to non-optional allocatable … (#116126)
…dummy
We presently allow a NULL() actual argument to associate with a
non-optional dummy allocatable argument only under INTENT(IN). This is
too strict, as it precludes the case of a dummy argument with default
intent. Continue to require that the actual argument be definable under
INTENT(OUT) and INTENT(IN OUT), and (contra XLF) interpret NULL() as
being an expression, not a definable variable, even when it is given an
allocatable MOLD.
Fixes https://github.com/llvm/llvm-project/issues/115984.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions