[flang-commits] [flang] [flang] Assume matching shapes in elemental assignment with non-realloc lhs. (PR #118552)

Ivan R. Ivanov via flang-commits flang-commits at lists.llvm.org
Tue Dec 3 17:48:36 PST 2024


================
@@ -13,7 +13,7 @@ subroutine sb1(a, x, y, z)
   integer :: a
   integer :: x(:)
   integer :: y(:)
-  integer :: z(:)
+  integer, allocatable :: z(:)
----------------
ivanradanov wrote:

I see. thank you very much. I mistakenly thought the optimization was happening already.

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


More information about the flang-commits mailing list