coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / dependency_29.f90
blob398bf2c7b2547ee2e899638842ce4f2f115831b8
1 ! { dg-do compile }
2 ! { dg-options "-Warray-temporaries" }
4 subroutine t1(n1,n2, gfft, ufft)
5 implicit none
6 integer :: n1, n2, i
7 real :: gfft(n1,n2), ufft(n2)
8 DO i=1, n1
9 gfft(i,:)=gfft(i,:)*ufft(i)
10 END DO
11 end subroutine t1