According to 7.5.6.3 point 5, only nonpointer function result
need to be finalized. Update the condition to exclude pointer
function result.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D143156
[flang] Do not finalize pointer function result ClosedPublic Authored by clementval on Feb 2 2023, 1:49 AM.
Details Summary According to 7.5.6.3 point 5, only nonpointer function result
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 2 2023, 1:49 AM clementval retitled this revision from [flang] Do not finalize pointer function reference to [flang] Do not finalize pointer function result.Feb 2 2023, 1:49 AM This revision is now accepted and ready to land.Feb 2 2023, 2:35 AM clementval removed a parent revision: D143150: [flang] End IO statement before finalization to avoid recursive IO.Feb 2 2023, 9:25 AM Closed by commit rGad3a974b6908: [flang] Do not finalize pointer function result (authored by clementval). · Explain WhyFeb 2 2023, 11:50 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 494334 flang/lib/Lower/ConvertCall.cpp
flang/test/Lower/derived-type-finalization.f90
|