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