public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-11] Fix test failure in routine-level-of-parallelism-2.c testcase
@ 2021-05-13 16:14 Kwok Yeung
0 siblings, 0 replies; only message in thread
From: Kwok Yeung @ 2021-05-13 16:14 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:37eed9eb8ce07cf25bbaee64cad02a1d09b7c09d
commit 37eed9eb8ce07cf25bbaee64cad02a1d09b7c09d
Author: Kwok Cheung Yeung <kcy@codesourcery.com>
Date: Thu Mar 19 15:09:32 2020 -0700
Fix test failure in routine-level-of-parallelism-2.c testcase
c-c++-common/goacc/routine-level-of-parallelism-2.c is supposed to be
equivalent to gfortran.dg/goacc/routine-level-of-parallelism-1.f90,
but is missing some test directives present in the latter.
2020-03-19 Kwok Cheung Yeung <kcy@codesourcery.com>
gcc/testsuite/
* c-c++-common/goacc/routine-level-of-parallelism-2.c (g_1): Add
missing test directives.
Diff:
---
gcc/testsuite/ChangeLog.omp | 5 +++++
gcc/testsuite/c-c++-common/goacc/routine-level-of-parallelism-2.c | 4 +++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp
index 1fb785380fe..bd7ef85508a 100644
--- a/gcc/testsuite/ChangeLog.omp
+++ b/gcc/testsuite/ChangeLog.omp
@@ -1,3 +1,8 @@
+2020-03-19 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * c-c++-common/goacc/routine-level-of-parallelism-2.c (g_1): Add
+ missing test directives.
+
2020-03-17 Tobias Burnus <tobias@codesourcery.com>
* gfortran.dg/goacc/kernels-decompose-2.f95: Remove some
diff --git a/gcc/testsuite/c-c++-common/goacc/routine-level-of-parallelism-2.c b/gcc/testsuite/c-c++-common/goacc/routine-level-of-parallelism-2.c
index a066f2b9c2b..d40cdadb3d8 100644
--- a/gcc/testsuite/c-c++-common/goacc/routine-level-of-parallelism-2.c
+++ b/gcc/testsuite/c-c++-common/goacc/routine-level-of-parallelism-2.c
@@ -3,8 +3,10 @@
'../../gfortran.dg/goacc/routine-level-of-parallelism-1.f90'. */
#pragma acc routine gang
-void g_1 (void)
+void g_1 (void) /* { dg-warning "region is gang partitioned but does not contain gang partitioned code" } */
{
+ /* { dg-bogus "region is worker partitioned but does not contain worker partitioned code" "" { xfail *-*-* } .-2 } */
+ /* { dg-bogus "region is vector partitioned but does not contain vector partitioned code" "" { xfail *-*-* } .-3 } */
}
#pragma acc routine (g_1) gang
#pragma acc routine (g_1) gang
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-13 16:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 16:14 [gcc/devel/omp/gcc-11] Fix test failure in routine-level-of-parallelism-2.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).