diff options
Diffstat (limited to 'gcc/c/ChangeLog')
-rw-r--r-- | gcc/c/ChangeLog | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 7ddafa3..9c39fd9 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,38 @@ +2015-11-05 Jakub Jelinek <jakub@redhat.com> + Ilya Verbin <ilya.verbin@intel.com> + + * c-parser.c: Include context.h and gimple-expr.h. + (c_parser_omp_clause_schedule): Parse schedule modifiers, diagnose + monotonic together with nonmonotonic. + (c_parser_omp_for_loop): Call c_omp_check_loop_iv. Call add_stmt here. + (OMP_DISTRIBUTE_CLAUSE_MASK): Add lastprivate clause. + (c_parser_omp_target_data, c_parser_omp_target_enter_data, + c_parser_omp_target_exit_data): Allow GOMP_MAP_ALWAYS_POINTER. + (c_parser_omp_target): Likewise. Evaluate num_teams and thread_limit + expressions on combined target teams before the target. + (c_parser_omp_declare_target): If decl has "omp declare target" or + "omp declare target link" attribute, and cgraph or varpool node already + exists, then set corresponding flags. Call c_finish_omp_clauses + in the parenthesized extended-list syntax case. + * c-decl.c (c_decl_attributes): Don't diagnose block scope vars inside + declare target. + * c-typeck.c (handle_omp_array_sections_1): Allow non-zero low-bound + on OMP_CLAUSE_REDUCTION array sections. + (handle_omp_array_sections): Encode low-bound into the MEM_REF, either + into the constant offset, or for variable low-bound using + POINTER_PLUS_EXPR. For structure element based array sections use + GOMP_MAP_ALWAYS_POINTER instead of GOMP_MAP_FIRSTPRIVATE_POINTER. + (c_finish_omp_clauses): Drop generic_field_head, structure + elements are now always mapped even as array section bases, + diagnose same var in data sharing and mapping clauses. Diagnose if + linear step on declare simd is neither a constant nor a uniform + parameter. Look through POINTER_PLUS_EXPR for array section + reductions. Diagnose the same var or function appearing multiple + times on the same directive. Fix up wording for the to clause if t + is neither a FUNCTION_DECL nor a VAR_DECL. Diagnose nonmonotonic + modifier on kinds other than dynamic or guided or nonmonotonic + modifier together with ordered clause. + 2015-11-03 Thomas Schwinge <thomas@codesourcery.com> Chung-Lin Tang <cltang@codesourcery.com> |