summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/dependency_4.f90
blob: 9eabaf1e587bdf4ad2ab089510dfdf90faf4d264 (plain)
1
2
3
4
5
6
7
8
9
10
11
! { 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" } }
! { dg-final { cleanup-tree-dump "original" } }