[flang-commits] [flang] [llvm] [Flang] Adding lowering for the allocation and deallocation of coarrays (PR #182110)
Dan Bonachea via flang-commits
flang-commits at lists.llvm.org
Tue Mar 17 19:17:09 PDT 2026
================
----------------
bonachea wrote:
This comment was meant to be a bulleted list, the rewrapping made it unreadable.
```suggestion
// Local coarray must have the SAVE and/or ALLOCATABLE attributes:
// 1. SAVE (no ALLOCATABLE): never automatically deallocated or finalized
// (see 7.5.6.4)
// 2. ALLOCATABLE (no SAVE): automatically deallocated and
// finalized at scope exit
// 3. ALLOCATABLE and SAVE: Not deallocated at scope exit
// (only via explicit DEALLOCATE or END TEAM)
```
https://github.com/llvm/llvm-project/pull/182110
More information about the flang-commits
mailing list