blob: 52bac8f9f6188bbc3168b29d54ab33a8437f53e8 [file] [log] [blame]
! { dg-do compile }
! { dg-options "-O2 -fdump-tree-original" }
subroutine foo(a)
integer, dimension (4) :: a
where (a(1:4) .ne. 0)
a(1:4) = 1
endwhere
end subroutine
! { dg-final { scan-tree-dump-times "malloc" 0 "original" } }
! { dg-final { cleanup-tree-dump "original" } }