aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2023-02-07 21:23:47 +0100
committerThomas Schwinge <thomas@codesourcery.com>2023-02-07 23:44:33 +0100
commit7ab75a6e6dfd81c566f848ef0d8d06666ee15b81 (patch)
tree6ed641d836156b525ca7fdbf50444139f7e74590 /libgomp
parentc300e251f5b22d15b126f3c643cd55a119994e48 (diff)
downloadgcc-7ab75a6e6dfd81c566f848ef0d8d06666ee15b81.zip
gcc-7ab75a6e6dfd81c566f848ef0d8d06666ee15b81.tar.gz
gcc-7ab75a6e6dfd81c566f848ef0d8d06666ee15b81.tar.bz2
Fix 'libgomp.fortran/reverse-offload-6.f90' nvptx offloading compilation
Fix-up for recent commit 0b1ce70a813b98ef2893779d14ad6c90c5d06a71 "libgomp: Fix reverse offload issues". libgomp/ * testsuite/libgomp.fortran/reverse-offload-6.f90: Fix nvptx offloading compilation.
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/testsuite/libgomp.fortran/reverse-offload-6.f902
1 files changed, 2 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.fortran/reverse-offload-6.f90 b/libgomp/testsuite/libgomp.fortran/reverse-offload-6.f90
index 04866ed..ddb7008 100644
--- a/libgomp/testsuite/libgomp.fortran/reverse-offload-6.f90
+++ b/libgomp/testsuite/libgomp.fortran/reverse-offload-6.f90
@@ -2,6 +2,8 @@
! Ensure that a mapping with no argument works
!
+! { dg-additional-options -foffload-options=nvptx-none=-misa=sm_35 { target offload_target_nvptx } }
+
module m
implicit none (type, external)
integer :: x = 32