2017-12-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gfortran.dg / dependency_1.f90
blob5a5a898822d7700a1947b4638718f2a67b4bf824
1 ! { dg-do compile }
2 ! PR23906
3 ! Dependency analysis was using the stride from the wrong expression and
4 ! segfaulting
5 subroutine foo(a)
6 real, dimension(:) :: a
8 a(1:3:2) = a(1:2)
9 a(1:2) = a(1:3:2)
10 end subroutine