[flang-commits] [flang] [flang] Deallocate local allocatable at end of their scopes (PR #67036)

via flang-commits flang-commits at lists.llvm.org
Thu Sep 21 10:30:08 PDT 2023


https://github.com/vdonaldson approved this pull request.

Jean, thanks for adding this missing piece of scope exit processing.

You might want to rename `needEndFinalization` to something like `needDeallocationOrFinalization`. (Well, it's really and/or, but ok.)

It might be helpful to have a comment somewhere that says that deallocation code will also do finalization if applicable.

https://github.com/llvm/llvm-project/pull/67036


More information about the flang-commits mailing list