diff options
author | Cesar Philippidis <cesar@codesourcery.com> | 2016-06-29 09:04:42 -0700 |
---|---|---|
committer | Cesar Philippidis <cesar@gcc.gnu.org> | 2016-06-29 09:04:42 -0700 |
commit | 27f67461842af37e9b63426b6d6ab38a016a0f70 (patch) | |
tree | e4b488ef67897d595ede65fd2202cb2318412b04 /gcc/fortran/scanner.c | |
parent | b1206d294ac3bbc2353a6f94e492423e44054059 (diff) | |
download | gcc-27f67461842af37e9b63426b6d6ab38a016a0f70.zip gcc-27f67461842af37e9b63426b6d6ab38a016a0f70.tar.gz gcc-27f67461842af37e9b63426b6d6ab38a016a0f70.tar.bz2 |
openmp.c (match_oacc_clause_gang): Rename to ...
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.
From-SVN: r237854
Diffstat (limited to 'gcc/fortran/scanner.c')
0 files changed, 0 insertions, 0 deletions