Retro68/gcc/gcc/testsuite/gfortran.dg/dependency_5.f90
2017-04-10 13:32:00 +02:00

11 lines
236 B
Fortran

! { 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" } }