From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1729) id 701A33851A87; Wed, 29 Jun 2022 14:48:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 701A33851A87 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Kwok Yeung To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/omp/gcc-12] Fix excess errors in pr85381-3.c testcase X-Act-Checkin: gcc X-Git-Author: Kwok Cheung Yeung X-Git-Refname: refs/heads/devel/omp/gcc-12 X-Git-Oldrev: 9fb0076b11eb2774b620bcf2171d55c7d1fb899f X-Git-Newrev: f7970642f0387f305402e2cd056963f277e84ece Message-Id: <20220629144853.701A33851A87@sourceware.org> Date: Wed, 29 Jun 2022 14:48:53 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2022 14:48:53 -0000 https://gcc.gnu.org/g:f7970642f0387f305402e2cd056963f277e84ece commit f7970642f0387f305402e2cd056963f277e84ece Author: Kwok Cheung Yeung 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 * 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 + + * 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 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) {