2017-12-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gfortran.dg / dependency_32.f90
blobc0a3118acf53540328c79767277290b465856ebb
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