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