libgfortran/ChangeLog:
[official-gcc.git] / gcc / testsuite / gfortran.dg / vect / vect-7.f90
blobb82bb95e89bd95c26d6971f0e8174956772f14b8
1 ! { dg-do compile }
2 ! { dg-require-effective-target vect_double }
4 subroutine foo (x,nnd)
5 dimension x(nnd)
6 integer i
8 do i=1,nnd
9 x(i) = 1.d0 + (1.d0*i)/nnd
10 end do
12 end subroutine foo
14 ! { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { vect_unpack && vect_intfloat_cvt } } } }
15 ! { dg-final { cleanup-tree-dump "vect" } }