coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / dependency_16.f90
blobb2b5fee9dc81fe97636ba73682b63bc025bf6063
1 ! { dg-do compile }
2 ! { dg-options "-O2 -fdump-tree-original" }
3 subroutine foo(a,i)
4 integer, dimension (4,4) :: a
5 integer :: i
7 where (a(i+1,1:3) .ne. 0)
8 a(i+2,2:4) = 1
9 endwhere
10 end subroutine
11 ! { dg-final { scan-tree-dump-times "malloc" 0 "original" } }