[flang-commits] [flang] [flang][HLFIR] Enable inlining of allocatable array assignments (PR #197814)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Tue May 19 03:14:08 PDT 2026
https://github.com/tblah commented:
Thanks for the patch.
Currently both paths loose lower bounds. I don't think this is right.
```
program lower_bound_realloc
integer :: source(10:12)
integer, allocatable :: dest(:)
source = [1, 2, 3]
dest = source
if (lbound(dest, 1) /= 10) error stop 1
end program
```
(Reproducer written by codex)
https://github.com/llvm/llvm-project/pull/197814
More information about the flang-commits
mailing list