Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gfortran.dg / dependency_8.f90
blob9f7837d6037174e300173642ec23eb6aefb0d536
1 ! { dg-do compile }
2 ! { dg-options "-O2 -fdump-tree-original" }
3 subroutine foo(a,i,j)
4 integer, dimension (4,4) :: a
5 integer :: i
6 integer :: j
8 where (a(i,1:3) .ne. 0)
9 a(j,2:4) = 1
10 endwhere
11 end subroutine
12 ! { dg-final { scan-tree-dump-times "temp" 3 "original" } }
13 ! { dg-final { cleanup-tree-dump "original" } }