| 1 |
! { dg-do compile } |
| 2 |
! { dg-options "-Warray-temporaries" } |
| 3 |
! PR 44235 |
| 4 |
! No temporary should be created for this, as the upper bounds |
| 5 |
! are effectively identical. |
| 6 |
program main |
| 7 |
real a(10) |
| 8 |
a = 0. |
| 9 |
a(1:10:4) = a(1:9:4) |
| 10 |
end program main |