[flang-commits] [flang] [flang] Extension: Allow POINTER, INTENT(IN) passed objects (PR #172175)
via flang-commits
flang-commits at lists.llvm.org
Mon Dec 15 01:26:48 PST 2025
jeanPerier wrote:
@klausler, did you verify some end-to-end compilations?
I think lowering may be assuming that passed object are not pointers/allocatables in some contexts (the handling of those is a bit special since the related designators are only lower once for two purposes (being an argument and retrieving the dynamic type).
For instance, I think calling procedure pointer components with passed object would lack the object pointer deference currently (note for lowering updating, pointer dereference is likely missing [here](https://github.com/llvm/llvm-project/blob/5785b4a4fb29f4e3e38de628d5be8fc8770d81fd/flang/lib/Lower/ConvertProcedureDesignator.cpp#L106)).
https://github.com/llvm/llvm-project/pull/172175
More information about the flang-commits
mailing list