]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gfortran.dg/gomp/defaultmap-2.f90: Use dg-message not -dg-note
authorTobias Burnus <tobias@codesourcery.com>
Tue, 12 Oct 2021 07:33:37 +0000 (09:33 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 12 Oct 2021 07:33:37 +0000 (09:33 +0200)
gcc/testsuite/
* gfortran.dg/gomp/defaultmap-2.f90: Replace unsupported
dg-note by generic dg-message.

gcc/testsuite/ChangeLog.omp
gcc/testsuite/gfortran.dg/gomp/defaultmap-2.f90

index 217f484c9755d2a32a8b3ddff5a90f4ff74d998c..c4ecd4f1c27aac008be7379152ef71b0f1b56b24 100644 (file)
@@ -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:
index 1658424cf59aff619285188779480ae40f51b075..f5bead6fabdfc1d5dde2fc74bdbc27966c3f9dff 100644 (file)
@@ -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 }