public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Tobias Burnus <burnus@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/omp/gcc-11] gcc/testsuite/*/gomp/affinity*.{c, f90}: Avoid dg-note
Date: Tue,  1 Jun 2021 05:38:55 +0000 (GMT)	[thread overview]
Message-ID: <20210601053855.7CA24384B801@sourceware.org> (raw)

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

commit ae0418b229bfdedaae7e3d456ed8a27d9233f032
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Tue Jun 1 07:37:32 2021 +0200

    gcc/testsuite/*/gomp/affinity*.{c,f90}: Avoid dg-note
    
    Contrary to mainline/GCC12, GCC 11 does not support dg-note.
    
    gcc/testsuite/
            * c-c++-common/gomp/affinity-6.c: Use dg-message
            instead of dg-note.
            * gfortran.dg/gomp/affinity-clause-4.f90: Likewise.

Diff:
---
 gcc/testsuite/ChangeLog.omp                          | 6 ++++++
 gcc/testsuite/c-c++-common/gomp/affinity-6.c         | 6 +++---
 gcc/testsuite/gfortran.dg/gomp/affinity-clause-4.f90 | 2 +-
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp
index a90d829c6d0..cc7a00b5b2e 100644
--- a/gcc/testsuite/ChangeLog.omp
+++ b/gcc/testsuite/ChangeLog.omp
@@ -1,3 +1,9 @@
+2021-06-01  Tobias Burnus  <tobias@codesourcery.com>
+
+	* c-c++-common/gomp/affinity-6.c: Use dg-message
+	instead of dg-note.
+	* gfortran.dg/gomp/affinity-clause-4.f90: Likewise.
+
 2021-05-31  Tobias Burnus  <tobias@codesourcery.com>
 
 	Backported from master:
diff --git a/gcc/testsuite/c-c++-common/gomp/affinity-6.c b/gcc/testsuite/c-c++-common/gomp/affinity-6.c
index 0c9cd59cccf..9d21c17e83a 100644
--- a/gcc/testsuite/c-c++-common/gomp/affinity-6.c
+++ b/gcc/testsuite/c-c++-common/gomp/affinity-6.c
@@ -5,7 +5,7 @@ int bar2 (int);
 void foobar()
 {
   int d[64], e[64], f[64];
-#pragma omp parallel default(none)  /* { dg-note "enclosing 'parallel'" }  */
+#pragma omp parallel default(none)  /* { dg-message "enclosing 'parallel'" }  */
 #pragma omp task affinity (d, e[bar(5)], f[4:10])
   ;
 /* { dg-error "'f' not specified in enclosing 'parallel'" "" { target *-*-* } .-2 }  */
@@ -17,7 +17,7 @@ void
 foo (void)
 {
   int a[64];
-#pragma omp parallel default(none)  /* { dg-note "enclosing 'parallel'" }  */
+#pragma omp parallel default(none)  /* { dg-message "enclosing 'parallel'" }  */
 #pragma omp task affinity (iterator (j=bar(0):bar(1):bar(2))  : a[bar(j)])
   ;
 /* { dg-error "'a' not specified in enclosing 'parallel'" "" { target *-*-* } .-2 }  */
@@ -27,7 +27,7 @@ void
 qux (void)
 {
   int a[64], b[64], c[64];
-#pragma omp parallel default(none)  /* { dg-note "enclosing 'parallel'" }  */
+#pragma omp parallel default(none)  /* { dg-message "enclosing 'parallel'" }  */
 #pragma omp task affinity (iterator (j=bar(0):bar(1):bar(2))  : a[bar(j+1)], b[bar(j+2)], c[bar(j+3)])
   ;
 /* { dg-error "'a' not specified in enclosing 'parallel'" "" { target *-*-* } .-2 }  */
diff --git a/gcc/testsuite/gfortran.dg/gomp/affinity-clause-4.f90 b/gcc/testsuite/gfortran.dg/gomp/affinity-clause-4.f90
index 0d07efd3f30..bd4eb6a8aa2 100644
--- a/gcc/testsuite/gfortran.dg/gomp/affinity-clause-4.f90
+++ b/gcc/testsuite/gfortran.dg/gomp/affinity-clause-4.f90
@@ -6,7 +6,7 @@ subroutine foo
     end function ibar
   end interface
 
-  !$omp parallel default(none)  ! { dg-note "enclosing 'parallel'" }
+  !$omp parallel default(none)  ! { dg-message "enclosing 'parallel'" }
   !$omp task affinity (iterator(j=ibar(0):ibar(1):ibar(2)) : a(ibar(j)), b(j), c(j))
   !$omp end task
   !$omp end parallel


                 reply	other threads:[~2021-06-01  5:38 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=20210601053855.7CA24384B801@sourceware.org \
    --to=burnus@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).