summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/dependency_20.f90
blob: ed8fa14a112d0cff0821396e0fbb48a34a26540e (plain)
1
2
3
4
5
6
7
8
9
10
! { dg-do compile }
! { dg-options "-O2 -fdump-tree-original" }
  integer :: a(4)

  where (a(:) .ne. 0)
    a(:) = (/ 1, 2, 3, 4 /)
  endwhere
end
! { dg-final { scan-tree-dump-times "temp" 0 "original" } }
! { dg-final { cleanup-tree-dump "original" } }