[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
Wed Apr 8 10:03:53 PDT 2026
================
----------------
bonachea wrote:
I believe this code is intended to handle non-trailing ucobounds when corank > 1, eg:
```
integer :: mycoarray[4:some_const_expr, 0:9, 0:*]
```
where the non-trailing ucobounds are meaningful expressions that need to be lowered.
I agree this routine does appear to be needlessly computing a dummy numerical value for the trailing ucobound (`*`) which will later be discarded, but that appears to be harmless?
https://github.com/llvm/llvm-project/pull/182110
More information about the flang-commits
mailing list