public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-11] Add OpenACC 'host_data' testing to 'gfortran.dg/goacc/unexpected-end.f90'
@ 2021-09-17 13:46 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2021-09-17 13:46 UTC (permalink / raw)
  To: gcc-cvs

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

commit ea29d3d097a730ea714ae2992044a80609d030df
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Fri Sep 17 15:16:02 2021 +0200

    Add OpenACC 'host_data' testing to 'gfortran.dg/goacc/unexpected-end.f90'
    
    Use underscore instead of space in 'host_data'.
    
    Follow-up to recent commit 33fdbbe4ce6055eb858096d01720ccf94aa854ec
    "Fortran: Add missing ST_OMP_END_SCOPE handling [PR102313]".
    
            gcc/testsuite/
            * gfortran.dg/goacc/unexpected-end.f90: Add OpenACC 'host_data'
            testing.
    
    (cherry picked from commit 8b69c481fc86e04c6c83f3a49eef2760c175a8f2)

Diff:
---
 gcc/testsuite/gfortran.dg/goacc/unexpected-end.f90 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gfortran.dg/goacc/unexpected-end.f90 b/gcc/testsuite/gfortran.dg/goacc/unexpected-end.f90
index 442724fea83..e9db47b3270 100644
--- a/gcc/testsuite/gfortran.dg/goacc/unexpected-end.f90
+++ b/gcc/testsuite/gfortran.dg/goacc/unexpected-end.f90
@@ -4,7 +4,7 @@
 
 !$acc end DATA  ! { dg-error "Unexpected !.ACC END DATA" }
 
-!$acc end HOST DATA  ! { dg-error "Unclassifiable OpenACC directive" }
+!$acc end HOST_DATA  ! { dg-error "Unexpected !.ACC END HOST_DATA" }
 
 !$acc end KERNELS  ! { dg-error "Unexpected !.ACC END KERNELS" }
 
@@ -20,4 +20,6 @@
 
 !$acc end SERIAL LOOP  ! { dg-error "Unexpected !.ACC END SERIAL LOOP" }
 
+!$acc end EUPHORBIA LATHYRIS  ! { dg-error "Unclassifiable OpenACC directive" }
+
 end


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

only message in thread, other threads:[~2021-09-17 13:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17 13:46 [gcc/devel/omp/gcc-11] Add OpenACC 'host_data' testing to 'gfortran.dg/goacc/unexpected-end.f90' 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).