From: Kwok Cheung Yeung Date: Tue, 31 May 2022 11:23:11 +0000 (+0100) Subject: Fix excess errors in pr85381-3.c testcase X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7970642f0387f305402e2cd056963f277e84ece;p=thirdparty%2Fgcc.git 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 * testsuite/libgomp.oacc-c-c++-common/pr85381-3.c (foo_v, foo_w): Re-add dg-warning entries. --- diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp index 5e7bd4a796aa..3e1ed8efed6d 100644 --- a/libgomp/ChangeLog.omp +++ b/libgomp/ChangeLog.omp @@ -1,3 +1,8 @@ +2022-05-31 Kwok Cheung Yeung + + * testsuite/libgomp.oacc-c-c++-common/pr85381-3.c (foo_v, foo_w): + Re-add dg-warning entries. + 2022-05-12 Thomas Schwinge 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 8352df01a38b..2a7e48116c32 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) {