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. From-SVN: r235290
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Wparentheses-1.c | Loading commit data... | |
| body.c | Loading commit data... | |
| clauses1.c | Loading commit data... | |
| clauses2.c | Loading commit data... | |
| clauses3.c | Loading commit data... | |
| clauses4.c | Loading commit data... | |
| for1.c | Loading commit data... | |
| for2.c | Loading commit data... | |
| for3.c | Loading commit data... | |
| pr69363.c | Loading commit data... | |
| reduction-1.c | Loading commit data... | |
| reduction-2.c | Loading commit data... | |
| reduction-3.c | Loading commit data... | |
| run-1.c | Loading commit data... | |
| safelen.c | Loading commit data... | |
| vectorlength-2.c | Loading commit data... | |
| vectorlength-3.c | Loading commit data... | |
| vectorlength.c | Loading commit data... |