[flang-commits] [flang] [flang] Fix ICE when lowering IBM vector() array through fir.box (PR #214219)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Thu Aug 6 06:05:13 PDT 2026


================

----------------
eugeneepshteyn wrote:

This is not my area of expertise, but AI agent suggested to try the following test:
```
subroutine s()
  vector(integer(4)) :: vi(2)
  vector(real(4))    :: vr(2)
  class(*), allocatable :: x(:)
  allocate(x(2), source=vi)
  x = vr
  print *, same_type_as(x, x)
end subroutine
```

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


More information about the flang-commits mailing list