Fix 'libgomp.fortran/target-print-1.f90', 'libgomp.oacc-fortran/print-1.f90' for...
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 27 Nov 2019 17:50:55 +0000 (18:50 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Wed, 27 Nov 2019 17:50:55 +0000 (18:50 +0100)
commitb1a73b489462df2a1edaf39ec10dc03e0963d516
treee665beb39196b4f680f1082422acdb88f5295ad3
parentfa21363375a2ff71ded325e6debe890e561a9743
Fix 'libgomp.fortran/target-print-1.f90', 'libgomp.oacc-fortran/print-1.f90' for offload target nvptx

libgomp/
* testsuite/lib/libgomp.exp
(check_effective_target_offload_target_nvptx): New proc.
* testsuite/libgomp.fortran/target-print-1.f90: Use it with
'dg-skip-if'.
* testsuite/libgomp.oacc-fortran/print-1.f90: Likewise.
* testsuite/libgomp.fortran/target-print-1-nvptx.f90: New file.
* testsuite/libgomp.oacc-fortran/print-1-nvptx.f90: Likewise.

From-SVN: r278779
libgomp/ChangeLog
libgomp/testsuite/lib/libgomp.exp
libgomp/testsuite/libgomp.fortran/target-print-1-nvptx.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/target-print-1.f90
libgomp/testsuite/libgomp.oacc-fortran/print-1-nvptx.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/print-1.f90