rs6000.md (floor<mode>2): Add support for IEEE 128-bit round to integer instructions.
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-fortran / declare-4.f90
blob6c4e7c515ce3e8e55db37488c62496e968255ae9
1 ! { dg-do run }
3 module vars
4 implicit none
5 real b
6 !$acc declare create (b)
7 end module vars
9 program test
10 use vars
11 use openacc
12 implicit none
13 real a
15 if (acc_is_present (b) .neqv. .true.) call abort
17 a = 2.0
19 !$acc parallel copy (a)
20 b = a
21 a = 1.0
22 a = a + b
23 !$acc end parallel
25 if (acc_is_present (b) .neqv. .true.) call abort
27 if (a .ne. 3.0) call abort
29 end program test