r237855 - in /branches/gcc-6-branch/gcc: fortra...

cesar@gcc.gnu.org cesar@gcc.gnu.org
Wed Jun 29 16:08:00 GMT 2016


Author: cesar
Date: Wed Jun 29 16:08:13 2016
New Revision: 237855

URL: https://gcc.gnu.org/viewcvs?rev=237855&root=gcc&view=rev
Log:
	Back port from trunk
	2016-06-29  Cesar Philippidis  <cesar@codesourcery.com>

	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:
    branches/gcc-6-branch/gcc/fortran/ChangeLog
    branches/gcc-6-branch/gcc/fortran/openmp.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/goacc/asyncwait-2.f95
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/goacc/asyncwait-3.f95
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/goacc/asyncwait-4.f95



More information about the Gcc-cvs mailing list