Files
clang-p2996/flang/lib/Semantics/pointer-assignment.cpp
Peter Klausler b8513e4393 [flang] Better handling of weird pointer assignment case (#120628)
F'2023 C1017 permits the assignment of an unlimited polymorphic data
target to a monomorphic LHS pointer when the LHS pointer has a sequence
derived type (BIND(C) or SEQUENCE attribute). We allowed for this in
pointer assignments that don't have a function reference as their RHS.
Extend this support to function references, and also ensure that rank
compatibility is still checked.
2025-01-08 13:12:00 -08:00

22 KiB