public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Tobias Burnus <burnus@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/omp/gcc-12] Fix 'libgomp.fortran/reverse-offload-6.f90' nvptx offloading compilation Date: Wed, 8 Feb 2023 08:14:45 +0000 (GMT) [thread overview] Message-ID: <20230208081445.0E91F3858D39@sourceware.org> (raw) 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
reply other threads:[~2023-02-08 8:14 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230208081445.0E91F3858D39@sourceware.org \ --to=burnus@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).