OSDN Git Service

PR testsuite/51875
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / dependency_1.f90
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
7
8   a(1:3:2) = a(1:2) 
9   a(1:2) = a(1:3:2) 
10 end subroutine
11