public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5734] Fix 'libgomp.fortran/reverse-offload-6.f90' nvptx offloading compilation
@ 2023-02-07 22:46 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2023-02-07 22:46 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:7ab75a6e6dfd81c566f848ef0d8d06666ee15b81
commit r13-5734-g7ab75a6e6dfd81c566f848ef0d8d06666ee15b81
Author: Thomas Schwinge <thomas@codesourcery.com>
Date: Tue Feb 7 21:23:47 2023 +0100
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.
Diff:
---
libgomp/testsuite/libgomp.fortran/reverse-offload-6.f90 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libgomp/testsuite/libgomp.fortran/reverse-offload-6.f90 b/libgomp/testsuite/libgomp.fortran/reverse-offload-6.f90
index 04866edbba7..ddb7008cb1a 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-07 22:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-07 22:46 [gcc r13-5734] Fix 'libgomp.fortran/reverse-offload-6.f90' nvptx offloading compilation Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).