declare-simd-2.c
2.03 KB
-
c-typeck.c (c_finish_omp_clauses): Go to check_dup_generic at the end, unless remove is true. · ee1d5a02
* c-typeck.c (c_finish_omp_clauses) <case OMP_CLAUSE_UNIFORM>: Go to check_dup_generic at the end, unless remove is true. (c_finish_omp_clauses) <case OMP_CLAUSE_REDUCTION>: Add break; after remove = true;. (c_finish_omp_clauses) <case OMP_CLAUSE_COPYIN>: Likewise. * semantics.c (finish_omp_clauses) <case OMP_CLAUSE_UNIFORM>: Go to check_dup_generic at the end, unless remove is true. (finish_omp_clauses) <case OMP_CLAUSE_LINEAR>: Add break; after remove = true;. * gcc.dg/gomp/declare-simd-2.c (f12, f13, f14, f15, f16, f17): New tests. * g++.dg/gomp/declare-simd-2.C (f15, f16, f17, f18, f19, f20): New tests. From-SVN: r204294
Jakub Jelinek committed