public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Kwok Yeung <kcy@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/omp/gcc-12] Fix excess errors in pr85381-3.c testcase
Date: Wed, 29 Jun 2022 14:48:53 +0000 (GMT)	[thread overview]
Message-ID: <20220629144853.701A33851A87@sourceware.org> (raw)

https://gcc.gnu.org/g:f7970642f0387f305402e2cd056963f277e84ece

commit f7970642f0387f305402e2cd056963f277e84ece
Author: Kwok Cheung Yeung <kcy@codesourcery.com>
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  <kcy@codesourcery.com>
    
            * 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  <kcy@codesourcery.com>
+
+	* testsuite/libgomp.oacc-c-c++-common/pr85381-3.c (foo_v, foo_w):
+	Re-add dg-warning entries.
+
 2022-05-12  Thomas Schwinge  <thomas@codesourcery.com>
 
 	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)
 {


                 reply	other threads:[~2022-06-29 14:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220629144853.701A33851A87@sourceware.org \
    --to=kcy@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).