[Flang] Use the ultimate symbol in a DeallocateStmt check
Use the ultimate symbol while calling the `IsAllocatableOrPointer` function to ensure that the check works as expected for host-associated symbols. Fixes #58178 Reviewed By: PeteSteinfeld Differential Revision: https://reviews.llvm.org/D135443
Loading
Please sign in to comment