This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r237854 - in /trunk/gcc: fortran/ChangeLog fort...
- From: cesar at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 29 Jun 2016 16:04:43 -0000
- Subject: r237854 - in /trunk/gcc: fortran/ChangeLog fort...
Author: cesar
Date: Wed Jun 29 16:04:42 2016
New Revision: 237854
URL: https://gcc.gnu.org/viewcvs?rev=237854&root=gcc&view=rev
Log:
gcc/fortran/
* openmp.c (match_oacc_clause_gang): Rename to ...
(match_oacc_clause_gwv): this. Add support for OpenACC worker and
vector clauses.
(gfc_match_omp_clauses): Use match_oacc_clause_gwv for
OMP_CLAUSE_{GANG,WORKER,VECTOR}. Propagate any MATCH_ERRORs for
invalid OMP_CLAUSE_{ASYNC,WAIT,GANG,WORKER,VECTOR} clauses.
(gfc_match_oacc_wait): Propagate MATCH_ERROR for invalid
oacc_expr_lists. Adjust the first and needs_space arguments to
gfc_match_omp_clauses.
gcc/testsuite/
* gfortran.dg/goacc/asyncwait-2.f95: Updated expected diagnostics.
* gfortran.dg/goacc/asyncwait-3.f95: Likewise.
* gfortran.dg/goacc/asyncwait-4.f95: Add test coverage.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/openmp.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/goacc/asyncwait-2.f95
trunk/gcc/testsuite/gfortran.dg/goacc/asyncwait-3.f95
trunk/gcc/testsuite/gfortran.dg/goacc/asyncwait-4.f95