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 r12-7495] Fix 'libgomp.oacc-c-c++-common/kernels-decompose-1.c' expected diagnostics
Date: Fri,  4 Mar 2022 19:43:34 +0000 (GMT)	[thread overview]
Message-ID: <20220304194334.ED32D3858D3C@sourceware.org> (raw)

https://gcc.gnu.org/g:14dfbb53594e164fe222476523a68039a8bd5252

commit r12-7495-g14dfbb53594e164fe222476523a68039a8bd5252
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Fri Mar 4 20:34:40 2022 +0100

    Fix 'libgomp.oacc-c-c++-common/kernels-decompose-1.c' expected diagnostics
    
    Fix-up for recent commit 8935589b496f755e08cadf26d8ceddf0dd6e0968
    "OMP lowering: Regimplify 'OMP_CLAUSE_MAP_DECL_MAKE_ADDRESSABLE' DECLs
    [PR100280, PR104132, PR104133]": adjust for a GCN offloading workaround
    added just before commit: '(volatile void *) &f1;'.
    
            PR testsuite/104791
            libgomp/
            * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: Fix
            expected diagnostics.

Diff:
---
 libgomp/testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c
index 049b3a44b03..985a547d381 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c
@@ -37,6 +37,8 @@ int main()
 
 #pragma acc kernels /* { dg-line l_compute[incr c_compute] } */
   /* { dg-note {variable 'g2\.0' declared in block isn't candidate for adjusting OpenACC privatization level: not addressable} {} { target *-*-* } l_compute$c_compute } */
+  /* { dg-note {variable 'f1\.1' declared in block isn't candidate for adjusting OpenACC privatization level: not addressable} {} { target *-*-* } l_compute$c_compute } */
+  /* { dg-note {variable 'f1\.2' declared in block isn't candidate for adjusting OpenACC privatization level: not addressable} {} { target *-*-* } l_compute$c_compute } */
   {
     /* { dg-note {beginning 'gang-single' part in OpenACC 'kernels' region} {} { target *-*-* } .+1 } */
     int c = 234;


                 reply	other threads:[~2022-03-04 19:43 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=20220304194334.ED32D3858D3C@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).