summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/vect/no-vfa-pr32457.f90
blob: 07a2b6056fb954a195f0ae5b9c94b36f742a4eaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg-do compile }
! { dg-require-effective-target vect_float }

SUBROUTINE KEEL(RBOUND)
  REAL, DIMENSION(0:100) :: RBOUND
  DO N = 1, NP1
     RBOUND(N) = RBOUND(N-1) + 1
  END DO
  DO N = 1, NS
     WRITE (16,'(I5)') SRAD(N)
  END DO
END SUBROUTINE KEEL

! { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" } }
! { dg-final { cleanup-tree-dump "vect" } }