This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r229460 - in /trunk/gcc: cp/ChangeLog cp/parser...
- From: nathan at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 27 Oct 2015 20:19:24 -0000
- Subject: r229460 - in /trunk/gcc: cp/ChangeLog cp/parser...
Author: nathan
Date: Tue Oct 27 20:19:24 2015
New Revision: 229460
URL: https://gcc.gnu.org/viewcvs?rev=229460&root=gcc&view=rev
Log:
gcc/cp/
* parser.c (cp_parser_omp_clause_name): Add auto, gang, seq,
vector, worker.
(cp_parser_oacc_simple_clause): New.
(cp_parser_oacc_shape_clause): New.
(cp_parser_oacc_all_clauses): Add auto, gang, seq, vector, worker.
(OACC_LOOP_CLAUSE_MASK): Likewise.
* semantics.c (finish_omp_clauses): Add auto, gang, seq, vector,
worker. Unify the handling of teams, tasks and vector_length with
the other loop shape clauses.
gcc/testsuite/
* g++.dg/g++.dg/gomp/pr33372-1.C: Adjust diagnostic.
* gcc/testsuite/g++.dg/gomp/pr33372-3.C: Likewise.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/gomp/pr33372-1.C
trunk/gcc/testsuite/g++.dg/gomp/pr33372-3.C