From: Tobias Burnus Date: Tue, 12 Oct 2021 07:33:37 +0000 (+0200) Subject: gfortran.dg/gomp/defaultmap-2.f90: Use dg-message not -dg-note X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02acf208907687c9af81bfd1436000a4741779d3;p=thirdparty%2Fgcc.git 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 --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp index 217f484c9755..c4ecd4f1c27a 100644 --- a/gcc/testsuite/ChangeLog.omp +++ b/gcc/testsuite/ChangeLog.omp @@ -1,3 +1,8 @@ +2021-10-12 Tobias Burnus + + * gfortran.dg/gomp/defaultmap-2.f90: Replace unsupported + dg-note by generic dg-message. + 2021-10-09 Tobias Burnus Backported from master: diff --git a/gcc/testsuite/gfortran.dg/gomp/defaultmap-2.f90 b/gcc/testsuite/gfortran.dg/gomp/defaultmap-2.f90 index 1658424cf59a..f5bead6fabdf 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 }