Rebase.
[official-gcc.git] / gcc / testsuite / gfortran.dg / dependency_12.f90
blob09fe19650dd74e408ee7be584d96431043843100
1 ! { dg-do compile }
2 ! { dg-options "-O2 -fdump-tree-original" }
3 subroutine foo(a,b)
4 integer, pointer, dimension (:,:) :: a
5 real, dimension(:,:) :: b
7 where (a == 0)
8 b = 0.0
9 endwhere
10 end subroutine
11 ! { dg-final { scan-tree-dump-times "malloc" 0 "original" } }
12 ! { dg-final { cleanup-tree-dump "original" } }