Fix 'libgomp.fortran/reverse-offload-6.f90' nvptx offloading compilation
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 7 Feb 2023 20:23:47 +0000 (21:23 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 7 Feb 2023 22:44:33 +0000 (23:44 +0100)
Fix-up for recent commit 0b1ce70a813b98ef2893779d14ad6c90c5d06a71
"libgomp: Fix reverse offload issues".

libgomp/
* testsuite/libgomp.fortran/reverse-offload-6.f90: Fix nvptx
offloading compilation.

libgomp/testsuite/libgomp.fortran/reverse-offload-6.f90

index 04866edbba7da23df5182a261a8d44546e080745..ddb7008cb1ad3f07a4b0ca2024209adc232d093e 100644 (file)
@@ -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