public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-11] gfortran.dg/gomp/defaultmap-2.f90: Use dg-message not -dg-note
@ 2021-10-12  8:06 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2021-10-12  8:06 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:02acf208907687c9af81bfd1436000a4741779d3

commit 02acf208907687c9af81bfd1436000a4741779d3
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Tue Oct 12 09:33:37 2021 +0200

    gfortran.dg/gomp/defaultmap-2.f90: Use dg-message not -dg-note
    
    gcc/testsuite/
            * gfortran.dg/gomp/defaultmap-2.f90: Replace unsupported
            dg-note by generic dg-message.

Diff:
---
 gcc/testsuite/ChangeLog.omp                     | 5 +++++
 gcc/testsuite/gfortran.dg/gomp/defaultmap-2.f90 | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp
index 217f484c975..c4ecd4f1c27 100644
--- a/gcc/testsuite/ChangeLog.omp
+++ b/gcc/testsuite/ChangeLog.omp
@@ -1,3 +1,8 @@
+2021-10-12  Tobias Burnus  <tobias@codesourcery.com>
+
+	* gfortran.dg/gomp/defaultmap-2.f90: Replace unsupported
+	dg-note by generic dg-message.
+
 2021-10-09  Tobias Burnus  <tobias@codesourcery.com>
 
 	Backported from master:
diff --git a/gcc/testsuite/gfortran.dg/gomp/defaultmap-2.f90 b/gcc/testsuite/gfortran.dg/gomp/defaultmap-2.f90
index 1658424cf59..f5bead6fabd 100644
--- a/gcc/testsuite/gfortran.dg/gomp/defaultmap-2.f90
+++ b/gcc/testsuite/gfortran.dg/gomp/defaultmap-2.f90
@@ -24,7 +24,7 @@ implicit none
   allocate(character(len=7) :: strXa, strXaarr(5), strXp, strXparr(5))
 
 
-  !$omp target defaultmap ( none )  ! { dg-note "enclosing 'target'" }
+  !$omp target defaultmap ( none )  ! { dg-message "enclosing 'target'" }
     ii = 42; arr = 42; aii = 42; aarr = 42; pii = 42; parr = 42
     ! { dg-error "'ii' not specified in enclosing 'target'" "" { target *-*-* } .-1 }
     ! { dg-error "'arr' not specified in enclosing 'target'" "" { target *-*-* } .-2 }
@@ -66,7 +66,7 @@ implicit none
 
 
   !$omp target defaultmap(none : scalar)  defaultmap(none : aggregate)  &
-  !$omp&       defaultmap(none : allocatable) defaultmap(none : pointer)   ! { dg-note "enclosing 'target'" }
+  !$omp&       defaultmap(none : allocatable) defaultmap(none : pointer)   ! { dg-message "enclosing 'target'" }
     ii = 42; arr = 42; aii = 42; aarr = 42; pii = 42; parr = 42
     ! { dg-error "'ii' not specified in enclosing 'target'" "" { target *-*-* } .-1 }
     ! { dg-error "'arr' not specified in enclosing 'target'" "" { target *-*-* } .-2 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-12  8:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12  8:06 [gcc/devel/omp/gcc-11] gfortran.dg/gomp/defaultmap-2.f90: Use dg-message not -dg-note Tobias Burnus

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).