public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-12] Fix excess errors in pr85381-3.c testcase
@ 2022-06-29 14:48 Kwok Yeung
0 siblings, 0 replies; only message in thread
From: Kwok Yeung @ 2022-06-29 14:48 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f7970642f0387f305402e2cd056963f277e84ece
commit f7970642f0387f305402e2cd056963f277e84ece
Author: Kwok Cheung Yeung <kcy@codesourcery.com>
Date: Tue May 31 12:23:11 2022 +0100
Fix excess errors in pr85381-3.c testcase
Should probably be a fixup to 'openacc: Adjust test expectations to new
"kernels" handling'.
2022-05-31 Kwok Cheung Yeung <kcy@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/pr85381-3.c (foo_v, foo_w):
Re-add dg-warning entries.
Diff:
---
libgomp/ChangeLog.omp | 5 +++++
libgomp/testsuite/libgomp.oacc-c-c++-common/pr85381-3.c | 3 +++
2 files changed, 8 insertions(+)
diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index 5e7bd4a796a..3e1ed8efed6 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,8 @@
+2022-05-31 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * testsuite/libgomp.oacc-c-c++-common/pr85381-3.c (foo_v, foo_w):
+ Re-add dg-warning entries.
+
2022-05-12 Thomas Schwinge <thomas@codesourcery.com>
Backport from mainline:
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/pr85381-3.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/pr85381-3.c
index 8352df01a38..2a7e48116c3 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/pr85381-3.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/pr85381-3.c
@@ -9,6 +9,7 @@ int a;
#pragma acc declare create(a)
#pragma acc routine vector
+/* { dg-warning "region is vector partitioned but does not contain vector partitioned code" "" { target *-*-* } .+2 } */
void __attribute__((noinline, noclone))
foo_v (void)
{
@@ -16,6 +17,8 @@ foo_v (void)
}
#pragma acc routine worker
+/* { dg-warning "region is worker partitioned but does not contain worker partitioned code" "" { target *-*-* } .+3 }
+ { dg-warning "region is vector partitioned but does not contain vector partitioned code" "" { target *-*-* } .+2 } */
void __attribute__((noinline, noclone))
foo_w (void)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-29 14:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29 14:48 [gcc/devel/omp/gcc-12] Fix excess errors in pr85381-3.c testcase Kwok Yeung
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).