Retro68/gcc/libgomp/testsuite/libgomp.oacc-fortran/data-already-8.f

19 lines
465 B
FortranFixed
Raw Normal View History

2015-08-28 15:33:40 +00:00
! { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } }
IMPLICIT NONE
INTEGER I
!$ACC DATA CREATE (I)
2017-04-10 11:32:00 +00:00
WRITE(0, *) "CheCKpOInT"
2015-08-28 15:33:40 +00:00
!$ACC PARALLEL COPYIN (I)
I = 0
!$ACC END PARALLEL
!$ACC END DATA
END
2017-04-10 11:32:00 +00:00
! { dg-output "CheCKpOInT(\n|\r\n|\r).*" }
! { 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" }
2015-08-28 15:33:40 +00:00
! { dg-shouldfail "" }