public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Thomas Schwinge <tschwinge@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-5734] Fix 'libgomp.fortran/reverse-offload-6.f90' nvptx offloading compilation
Date: Tue,  7 Feb 2023 22:46:16 +0000 (GMT)	[thread overview]
Message-ID: <20230207224616.F3A093858D33@sourceware.org> (raw)

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

                 reply	other threads:[~2023-02-07 22:46 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=20230207224616.F3A093858D33@sourceware.org \
    --to=tschwinge@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: link
Be 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).