PointerDeallocate was silently doing nothing because it relied on
Destroy that doe not do anything for Pointers. Add an option to Destroy
in order to destroy pointers.
Add a unit test for PointerDeallocate.
Paths
| Differential D122492
[flang][runtime] Ensure PointerDeallocate actually deallocate pointers ClosedPublic Authored by jeanPerier on Mar 25 2022, 10:59 AM.
Details Summary PointerDeallocate was silently doing nothing because it relied on Add a unit test for PointerDeallocate.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 25 2022, 11:01 AM Closed by commit rG479eed18503d: [flang][runtime] Ensure PointerDeallocate actually deallocate pointers (authored by jeanPerier). · Explain WhyMar 28 2022, 1:22 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 418516 flang/include/flang/Runtime/descriptor.h
flang/runtime/descriptor.cpp
flang/runtime/pointer.cpp
flang/unittests/Runtime/CMakeLists.txt
flang/unittests/Runtime/Pointer.cpp
|