public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7495] Fix 'libgomp.oacc-c-c++-common/kernels-decompose-1.c' expected diagnostics
@ 2022-03-04 19:43 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-03-04 19:43 UTC (permalink / raw)
To: gcc-cvs
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-04 19:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-04 19:43 [gcc r12-7495] Fix 'libgomp.oacc-c-c++-common/kernels-decompose-1.c' expected diagnostics 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).