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.
+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
'../../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