From f7970642f0387f305402e2cd056963f277e84ece Mon Sep 17 00:00:00 2001 From: Kwok Cheung Yeung Date: Tue, 31 May 2022 12:23:11 +0100 Subject: [PATCH] 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. --- 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 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) { -- 2.47.3