From 7ab75a6e6dfd81c566f848ef0d8d06666ee15b81 Mon Sep 17 00:00:00 2001
From: Thomas Schwinge <thomas@codesourcery.com>
Date: Tue, 7 Feb 2023 21:23:47 +0100
Subject: [PATCH] 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.
---
libgomp/testsuite/libgomp.fortran/reverse-offload-6.f90 | 2 ++
1 file changed, 2 insertions(+)
@@ -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
--
2.39.0