* gcc-interface/trans.c (Call_to_gnu): If this is a function call and
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-fortran / data-already-2.f
blobb908a0c0702a492d2643cb781661c811792acd0e
1 ! { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } }
3 IMPLICIT NONE
5 INTEGER I
7 !$ACC DATA PRESENT_OR_COPY (I)
8 WRITE(0, *) "CheCKpOInT"
9 !$ACC DATA COPYOUT (I)
10 I = 0
11 !$ACC END DATA
12 !$ACC END DATA
14 END
16 ! { dg-output "CheCKpOInT(\n|\r\n|\r).*" }
17 ! { dg-output "Trying to map into device \\\[\[0-9a-fA-FxX\]+..\[0-9a-fA-FxX\]+\\\) object when \\\[\[0-9a-fA-FxX\]+..\[0-9a-fA-FxX\]+\\\) is already mapped" }
18 ! { dg-shouldfail "" }