[flang] Preserve bound info for pointer assignments through derived types
Doing a pointer assignment to another pointer which is a derived type component could result in the bound information being lost, potentially leading to incorrect array accesses. Fix this by trying to retain the bound info during the assignment. Fixes #57441 Differential Revision: https://reviews.llvm.org/D139800
Loading
Please sign in to comment