2010-11-30 Tobias Burnus <burnus@net-b.de>
[official-gcc.git] / gcc / testsuite / gfortran.dg / dependency_9.f90
blobd1f6f5e3fed267fd189edc480db7365b68fd9d9f
1 ! { dg-do compile }
2 ! { dg-options "-O2 -fdump-tree-original" }
3 subroutine foo(a,i,j)
4 integer, dimension (4,4) :: a
5 integer :: i
6 integer :: j
8 where (a(i,:) .ne. 0)
9 a(j,:) = 1
10 endwhere
11 end subroutine
12 ! { dg-final { scan-tree-dump-times "malloc" 0 "original" } }
13 ! { dg-final { cleanup-tree-dump "original" } }