Similary to non-optional argument, check if the argument is allocated before
doing the deallocation for intent(out) optional.
Depends on D145679
Paths
| Differential D145682
[flang] Check if dummy is allocated before deallocation for optional intent(out) ClosedPublic Authored by clementval on Mar 9 2023, 3:40 AM.
Details Summary Similary to non-optional argument, check if the argument is allocated before Depends on D145679
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 9 2023, 3:40 AM Comment Actions @clementval, I wasn't able to download this patch because arc patch could not resolve the dependencies. Could you please rebase after delivering D145679? Comment Actions Things build and test correctly, but .../llvm-project/flang/lib/Lower/ConvertVariable.cpp needs to have clang-format run on it. Please do so before merging. This revision is now accepted and ready to land.Mar 9 2023, 7:08 AM Closed by commit rG8d394367d39f: [flang] Check if dummy is allocated before deallocation for optional intent(out) (authored by clementval). · Explain WhyMar 9 2023, 8:48 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 503798 flang/lib/Lower/ConvertVariable.cpp
flang/test/Lower/intentout-deallocate.f90
|