Drop Z from X + Z < Y + Z
[official-gcc.git] / libgomp / testsuite / libgomp.fortran / declare-simd-3.f90
blob031625ec43514e2ec996bdb26000266427c0fe97
1 ! Don't compile this anywhere, it is just auxiliary
2 ! file compiled together with declare-simd-2.f90
3 ! to verify inter-CU module handling of omp declare simd.
4 ! { dg-do compile { target { lp64 && { ! lp64 } } } }
6 subroutine bar
7 use declare_simd_2_mod
8 real :: b(128)
9 integer :: i
11 !$omp simd
12 do i = 1, 128
13 b(i) = i * 2.0
14 end do
15 !$omp simd
16 do i = 1, 128
17 b(i) = foo (7.0_8, 5 * i, b(i))
18 end do
19 do i = 1, 128
20 if (b(i).ne.(7.0 + 10.0 * i * i)) call abort
21 end do
22 end subroutine bar