This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r240428 - in /branches/gomp-4_0-branch/gcc: c/C...
- From: nathan at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 23 Sep 2016 11:12:19 -0000
- Subject: r240428 - in /branches/gomp-4_0-branch/gcc: c/C...
Author: nathan
Date: Fri Sep 23 11:12:19 2016
New Revision: 240428
URL: https://gcc.gnu.org/viewcvs?rev=240428&root=gcc&view=rev
Log:
c/
* c-parser.c (c_parser_omp_clause_collapse): Disallow tile.
(c_parser_oacc_clause_tile): Disallow collapse. Fix parsing and
semantic checking.
cp/
* parser.c (cp_parser_oacc_clause_tile): Disallow collapse. Fix
parsing. Parse constant expression. Remove semantic checking.
(cp_parser_omp_clause_collapse): Disallow tile.
* pt.c (tsubst_omp_clauses): Require integral constant expression
for COLLAPSE and TILE. Remove broken TILE subst.
* semantics.c (finish_omp_clauses): Correct TILE semantic check.
testsuite/
* c-c++-common/goacc/tile.c: Include stdbool, fix expected errors.
* g++.dg/goacc/template.C: Test tile subst. Adjust erroneous
uses.
* g++.dg/goacc/tile-1.C: Check tile subst.
Added:
branches/gomp-4_0-branch/gcc/testsuite/g++.dg/goacc/tile-1.C
Modified:
branches/gomp-4_0-branch/gcc/c/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/c/c-parser.c
branches/gomp-4_0-branch/gcc/cp/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/cp/parser.c
branches/gomp-4_0-branch/gcc/cp/pt.c
branches/gomp-4_0-branch/gcc/cp/semantics.c
branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/tile.c
branches/gomp-4_0-branch/gcc/testsuite/g++.dg/goacc/template.C