[flang-commits] [flang] [llvm] [Flang] Adding lowering for the allocation and deallocation of coarrays (PR #182110)

Jean-Didier PAILLEUX via flang-commits flang-commits at lists.llvm.org
Fri Mar 20 07:55:30 PDT 2026


================
@@ -2524,6 +2533,8 @@ void Fortran::lower::mapSymbolAttributes(
   }
 
   if (Fortran::evaluate::IsCoarray(sym)) {
+    if (sym.attrs().test(Fortran::semantics::Attr::SAVE))
+      TODO(loc, "Coarray with explicit SAVE attribute.");
----------------
JDPailleux wrote:

Ok, so I'm probably lost with what you WANT with the TODO for non-ALLOCATABLE coarrays. I recommand to remove the TODO and put a comment.

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


More information about the flang-commits mailing list