r235290 - in /trunk/gcc: c-family/ChangeLog c-f...
iverbin@gcc.gnu.org
iverbin@gcc.gnu.org
Wed Apr 20 15:48:00 GMT 2016
Author: iverbin
Date: Wed Apr 20 15:48:53 2016
New Revision: 235290
URL: https://gcc.gnu.org/viewcvs?rev=235290&root=gcc&view=rev
Log:
Fix PR c++/69363
gcc/c-family/
PR c++/69363
* c-cilkplus.c (c_finish_cilk_clauses): Remove function.
* c-common.h (c_finish_cilk_clauses): Remove declaration.
gcc/c/
PR c++/69363
* c-parser.c (c_parser_cilk_all_clauses): Use c_finish_omp_clauses
instead of c_finish_cilk_clauses.
* c-tree.h (c_finish_omp_clauses): Add new default argument.
* c-typeck.c (c_finish_omp_clauses): Add new argument. Allow
floating-point variables in the linear clause for Cilk Plus.
gcc/cp/
PR c++/69363
* cp-tree.h (finish_omp_clauses): Add new default argument.
* parser.c (cp_parser_cilk_simd_all_clauses): Use finish_omp_clauses
instead of c_finish_cilk_clauses.
* semantics.c (finish_omp_clauses): Add new argument. Allow
floating-point variables in the linear clause for Cilk Plus.
gcc/testsuite/
PR c++/69363
* c-c++-common/cilk-plus/PS/clauses3.c: Adjust dg-error string.
* c-c++-common/cilk-plus/PS/clauses4.c: New test.
* c-c++-common/cilk-plus/PS/pr69363.c: New test.
Added:
trunk/gcc/testsuite/c-c++-common/cilk-plus/PS/clauses4.c
trunk/gcc/testsuite/c-c++-common/cilk-plus/PS/pr69363.c
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-cilkplus.c
trunk/gcc/c-family/c-common.h
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-parser.c
trunk/gcc/c/c-tree.h
trunk/gcc/c/c-typeck.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/parser.c
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/c-c++-common/cilk-plus/PS/clauses3.c
More information about the Gcc-cvs
mailing list