public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-12] Fix 'libgomp.fortran/reverse-offload-6.f90' nvptx offloading compilation
@ 2023-02-08 8:14 Tobias Burnus
0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2023-02-08 8:14 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:353a52cb5f1fb3d0bcb2dbaf95ae9055e0727399
commit 353a52cb5f1fb3d0bcb2dbaf95ae9055e0727399
Author: Thomas Schwinge <thomas@codesourcery.com>
Date: Wed Feb 8 09:14:04 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.
(cherry picked from commit 7ab75a6e6dfd81c566f848ef0d8d06666ee15b81)
Diff:
---
libgomp/ChangeLog.omp | 8 ++++++++
libgomp/testsuite/libgomp.fortran/reverse-offload-6.f90 | 2 ++
2 files changed, 10 insertions(+)
diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index 595792316ca..d319d43ceb0 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,11 @@
+2023-02-08 Tobias Burnus <tobias@codesourcery.com>
+
+ Backported from master:
+ 2023-02-07 Thomas Schwinge <thomas@codesourcery.com>
+
+ * testsuite/libgomp.fortran/reverse-offload-6.f90: Fix nvptx
+ offloading compilation.
+
2023-02-07 Tobias Burnus <tobias@codesourcery.com>
Backported from master:
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-08 8:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08 8:14 [gcc/devel/omp/gcc-12] Fix 'libgomp.fortran/reverse-offload-6.f90' nvptx offloading compilation Tobias Burnus
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).