aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/dependency_5.f90
blob: bc52ad91c68e805fa86e1bc2a7de5e7e13af761d (plain)
1
2
3
4
5
6
7
8
9
10
! { dg-do compile }
! { dg-options "-O2 -fdump-tree-original" }
subroutine foo(a)
  integer, dimension (4) :: a

  where (a(:) .ne. 0)
    a(:) = 1
  endwhere
end subroutine
! { dg-final { scan-tree-dump-times "malloc" 0 "original" } }