diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-05-04 15:35:17 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2016-05-04 15:35:17 +0000 |
commit | f43e11eab4a62af7b39d9a134e87632bf3587520 (patch) | |
tree | 453160a3133493bc9c47fa571a101d859d4be654 /gcc | |
parent | c9328f9d473ed1934c4b1801d5d9682064f2eba5 (diff) |
svn merge -r228776:228777 svn+ssh://gcc.gnu.org/svn/gcc/trunkgomp-4_1-branch
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gomp-4_1-branch@235883 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 375 | ||||
-rw-r--r-- | gcc/ada/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c-family/ChangeLog | 28 | ||||
-rw-r--r-- | gcc/c/ChangeLog | 82 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 147 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 24 | ||||
-rw-r--r-- | gcc/jit/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/lto/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 75 |
9 files changed, 748 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 47119471d84..750c73aad08 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,378 @@ +2015-10-13 Jakub Jelinek <jakub@redhat.com> + Aldy Hernandez <aldyh@redhat.com> + Ilya Verbin <ilya.verbin@intel.com> + + * builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, + BT_FN_BOOL_UINT_ULLPTR_ULLPTR_ULLPTR, + BT_FN_BOOL_UINT_LONGPTR_LONG_LONGPTR_LONGPTR, + BT_FN_BOOL_UINT_ULLPTR_ULL_ULLPTR_ULLPTR, + BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_UINT_PTR, + BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR, + BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT, + BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_LONG_LONG_LONG, + BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_ULL_ULL_ULL, + BT_FN_VOID_LONG_VAR, BT_FN_VOID_ULL_VAR): New. + (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR, + BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR, + BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR): Remove. + * cgraph.h (enum cgraph_simd_clone_arg_type): Add + SIMD_CLONE_ARG_TYPE_LINEAR_REF_CONSTANT_STEP, + SIMD_CLONE_ARG_TYPE_LINEAR_UVAL_CONSTANT_STEP and + SIMD_CLONE_ARG_TYPE_LINEAR_VAL_CONSTANT_STEP. + (struct cgraph_simd_clone_arg): Adjust comment. + * coretypes.h (struct gomp_ordered): New forward decl. + * gimple.c (gimple_build_omp_critical): Add CLAUSES argument, + set critical clauses to it. + (gimple_build_omp_ordered): Return gomp_ordered * instead of + gimple *. Add CLAUSES argument, set ordered clauses to it. + (gimple_copy): Unshare clauses on GIMPLE_OMP_CRITICAL and + GIMPLE_OMP_ORDERED. + * gimple.def (GIMPLE_OMP_ORDERED): Change from GSS_OMP to + GSS_OMP_SINGLE_LAYOUT, move it after GIMPLE_OMP_TEAMS. + * gimple.h (enum gf_mask): Add GF_OMP_TASK_TASKLOOP. Add another bit + to GF_OMP_FOR_KIND_MASK mask. Add GF_OMP_FOR_KIND_TASKLOOP, renumber + GF_OMP_FOR_KIND_CILKFOR and GF_OMP_FOR_KIND_OACC_LOOP. Adjust + GF_OMP_FOR_SIMD, GF_OMP_FOR_COMBINED and GF_OMP_FOR_COMBINED_INTO. + Add another bit to GF_OMP_TARGET_KIND_MASK mask. Add + GF_OMP_TARGET_KIND_ENTER_DATA and GF_OMP_TARGET_KIND_EXIT_DATA, + renumber + GF_OMP_TARGET_KIND_OACC_{PARALLEL,KERNELS,DATA,UPDATE,ENTER_EXIT_DATA}. + (gomp_critical): Add clauses field. + (gomp_ordered): New struct. + (is_a_helper <gomp_ordered *>::test): New inline. + (gimple_build_omp_critical): Add CLAUSES argument. + (gimple_build_omp_ordered): Likewise. Return gomp_ordered * + instead of gimple *. + (gimple_omp_critical_clauses, gimple_omp_critical_clauses_ptr, + gimple_omp_critical_set_clauses, gimple_omp_ordered_clauses, + gimple_omp_ordered_clauses_ptr, gimple_omp_ordered_set_clauses, + gimple_omp_task_taskloop_p, gimple_omp_task_set_taskloop_p): New + inline functions. + * gimple-pretty-print.c (dump_gimple_omp_for): Handle taskloop. + (dump_gimple_omp_target): Handle enter data and exit data. + (dump_gimple_omp_block): Don't handle GIMPLE_OMP_ORDERED here. + (dump_gimple_omp_critical): Print clauses. + (dump_gimple_omp_ordered): New function. + (dump_gimple_omp_task): Handle taskloop. + (pp_gimple_stmt_1): Use dump_gimple_omp_ordered for + GIMPLE_OMP_ORDERED. + * gimple-walk.c (walk_gimple_op): Walk clauses on + GIMPLE_OMP_CRITICAL and GIMPLE_OMP_ORDERED. + * gimplify.c (enum gimplify_omp_var_data): Add GOVD_MAP_0LEN_ARRAY. + (enum omp_region_type): Add ORT_COMBINED_TARGET and ORT_NONE. + (struct gimplify_omp_ctx): Add loop_iter_var, + target_map_scalars_firstprivate, target_map_pointers_as_0len_arrays + and target_firstprivatize_array_bases fields. + (delete_omp_context): Release loop_iter_var. + (gimplify_bind_expr): Handle ORT_NONE. + (maybe_fold_stmt): Adjust check for ORT_TARGET for the addition of + ORT_COMBINED_TARGET. + (is_gimple_stmt): Return true for OMP_TASKLOOP, OMP_TEAMS and + OMP_TARGET{,_DATA,_UPDATE,_ENTER_DATA,_EXIT_DATA}. + (omp_firstprivatize_variable): Handle ORT_NONE. Adjust check for + ORT_TARGET for the addition of ORT_COMBINED_TARGET. Handle + ctx->target_map_scalars_firstprivate. + (omp_add_variable): Handle ORT_NONE. Allow map clause together with + data sharing clauses. For data sharing clause with VLA decl + on omp target/target data don't add firstprivate for the pointer. + Call omp_notice_variable on TYPE_SIZE_UNIT only if it is a DECL_P. + (omp_notice_threadprivate_variable): Adjust check for ORT_TARGET for + the addition of ORT_COMBINED_TARGET. + (omp_notice_variable): Handle ORT_NONE. Adjust check for ORT_TARGET + for the addition of ORT_COMBINED_TARGET. Handle implicit mapping of + pointers as zero length array sections and + ctx->target_map_scalars_firstprivate mapping of scalars as firstprivate + data sharing. + (omp_check_private): Handle omp_member_access_dummy_var vars. + (find_decl_expr): New function. + (gimplify_scan_omp_clauses): Add CODE argument. For OMP_CLAUSE_IF + complain if OMP_CLAUSE_IF_MODIFIER is present and does not match code. + Handle OMP_CLAUSE_GANG separately. Handle + OMP_CLAUSE_{PRIORITY,GRAINSIZE,NUM_TASKS,NOGROUP,THREADS,SIMD,SIMDLEN} + clauses. Diagnose linear clause on combined + distribute {, parallel for} simd construct, unless it is the loop + iterator. Handle struct element GOMP_MAP_FIRSTPRIVATE_POINTER. + Handle map clauses with COMPONENT_REF. Initialize + ctx->target_map_scalars_firstprivate, + ctx->target_firstprivatize_array_bases and + ctx->target_map_pointers_as_0len_arrays. Add firstprivate for + linear clause even to target region if combined. Remove + map clauses with GOMP_MAP_FIRSTPRIVATE_POINTER kind from + OMP_TARGET_{,ENTER_,EXIT_}DATA. For GOMP_MAP_FIRSTPRIVATE_POINTER + map kind with non-INTEGER_CST OMP_CLAUSE_SIZE firstprivatize the bias. + Handle OMP_CLAUSE_DEPEND_{SINK,SOURCE}. Handle + OMP_CLAUSE_{{USE,IS}_DEVICE_PTR,DEFAULTMAP,HINT}. + For linear clause on worksharing loop combined with parallel add + shared clause on the parallel. Handle OMP_CLAUSE_REDUCTION + with MEM_REF OMP_CLAUSE_DECL. Set DECL_NAME on + omp_member_access_dummy_var vars. Add lastprivate clause to outer + taskloop if needed. + (gimplify_adjust_omp_clauses_1): Handle GOVD_MAP_0LEN_ARRAY. + If gimplify_omp_ctxp->target_firstprivatize_array_bases, use + GOMP_MAP_FIRSTPRIVATE_POINTER map kind instead of + GOMP_MAP_POINTER. + (gimplify_adjust_omp_clauses): Add CODE argument. Handle removal + of GOMP_MAP_FIRSTPRIVATE_POINTER struct elements for struct not seen + in target body. Handle removal of struct mapping if struct is not + seen in target body. Remove GOMP_MAP_STRUCT map clause on + OMP_TARGET_EXIT_DATA. Adjust check for ORT_TARGET for the + addition of ORT_COMBINED_TARGET. Use GOMP_MAP_FIRSTPRIVATE_POINTER + instead of GOMP_MAP_POINTER if ctx->target_firstprivatize_array_bases + for VLAs. Set OMP_CLAUSE_MAP_PRIVATE if both data sharing and map + clause appear together. Handle + OMP_CLAUSE_{{USE,IS}_DEVICE_PTR,DEFAULTMAP,HINT}. Don't remove map + clause if it has map-type-modifier always. Handle + OMP_CLAUSE_{PRIORITY,GRAINSIZE,NUM_TASKS,NOGROUP,THREADS,SIMD,SIMDLEN} + clauses. + (gimplify_oacc_cache, gimplify_omp_parallel, gimplify_omp_task): + Adjust gimplify_scan_omp_clauses and gimplify_adjust_omp_clauses + callers. + (gimplify_omp_for): Likewise. Handle OMP_TASKLOOP. Initialize + loop_iter_var. Use OMP_FOR_ORIG_DECLS. Fix handling of lastprivate + iterators in doacross loops. + (gimplify_omp_workshare): Adjust gimplify_scan_omp_clauses and + gimplify_adjust_omp_clauses callers. Use ORT_COMBINED_TARGET + for OMP_TARGET_COMBINED. Adjust check for ORT_TARGET + for the addition of ORT_COMBINED_TARGET. + (gimplify_omp_target_update): Adjust gimplify_scan_omp_clauses and + gimplify_adjust_omp_clauses callers. Handle OMP_TARGET_ENTER_DATA + and OMP_TARGET_EXIT_DATA. + (gimplify_omp_ordered): New function. + (gimplify_expr): Handle OMP_TASKLOOP, OMP_TARGET_ENTER_DATA and + OMP_TARGET_EXIT_DATA. Use gimplify_omp_ordered for OMP_ORDERED. + Gimplify clauses on OMP_CRITICAL. + * internal-fn.c (expand_GOMP_SIMD_ORDERED_START, + expand_GOMP_SIMD_ORDERED_END): New functions. + * internal-fn.def (GOMP_SIMD_ORDERED_START, + GOMP_SIMD_ORDERED_END): New internal functions. + * omp-builtins.def (BUILT_IN_GOMP_LOOP_DOACROSS_STATIC_START, + BUILT_IN_GOMP_LOOP_DOACROSS_DYNAMIC_START, + BUILT_IN_GOMP_LOOP_DOACROSS_GUIDED_START, + BUILT_IN_GOMP_LOOP_DOACROSS_RUNTIME_START, + BUILT_IN_GOMP_LOOP_ULL_DOACROSS_STATIC_START, + BUILT_IN_GOMP_LOOP_ULL_DOACROSS_DYNAMIC_START, + BUILT_IN_GOMP_LOOP_ULL_DOACROSS_GUIDED_START, + BUILT_IN_GOMP_LOOP_ULL_DOACROSS_RUNTIME_START, + BUILT_IN_GOMP_DOACROSS_POST, BUILT_IN_GOMP_DOACROSS_WAIT, + BUILT_IN_GOMP_DOACROSS_ULL_POST, BUILT_IN_GOMP_DOACROSS_ULL_WAIT, + BUILT_IN_GOMP_TARGET_ENTER_EXIT_DATA, BUILT_IN_GOMP_TASKLOOP, + BUILT_IN_GOMP_TASKLOOP_ULL): New built-ins. + (BUILT_IN_GOMP_TASK): Add INT argument to the end. + (BUILT_IN_GOMP_TARGET): Rename from GOMP_target to GOMP_target_41, + adjust type. + (BUILT_IN_GOMP_TARGET_DATA): Rename from GOMP_target_data to + GOMP_target_data_41, adjust type. + (BUILT_IN_GOMP_TARGET_UPDATE): Rename from GOMP_target_update to + GOMP_target_update_41, adjust type. + * omp-low.c (struct omp_region): Adjust comments, add ord_stmt + field. + (struct omp_for_data): Add ordered and simd_schedule fields. + (omp_member_access_dummy_var, unshare_and_remap_1, + unshare_and_remap, is_taskloop_ctx): New functions. + (is_taskreg_ctx): Use is_parallel_ctx and is_task_ctx. + (extract_omp_for_data): Handle taskloops and doacross loops + and simd schedule modifier. + (omp_adjust_chunk_size): New function. + (get_ws_args_for): Use it. + (lookup_sfield): Change first argument to splay_tree_key, + add overload with first argument tree. + (maybe_lookup_field): Likewise. + (use_pointer_for_field): Handle omp_member_access_dummy_var. + (omp_copy_decl_2): If var is TREE_ADDRESSABLE listed in + task_shared_vars, clear TREE_ADDRESSABLE on the copy. + (build_outer_var_ref): Add LASTPRIVATE argument, handle + taskloops and omp_member_access_dummy_var vars. + (build_sender_ref): Change first argument to splay_tree_key, + add overload with first argument tree. + (install_var_field): For mask & 8 use &DECL_UID as key instead + of the tree itself. + (fixup_child_record_type): Const qualify *.omp_data_i. + (scan_sharing_clauses): Handle OMP_CLAUSE_SHARED_FIRSTPRIVATE, + C/C++ array reductions, OMP_CLAUSE_{IS,USE}_DEVICE_PTR clauses, + OMP_CLAUSE_{PRIORITY,GRAINSIZE,NUM_TASKS,SIMDLEN,THREADS,SIMD} and + OMP_CLAUSE_{NOGROUP,DEFAULTMAP} clauses, OMP_CLAUSE__LOOPTEMP_ clause + on taskloop, GOMP_MAP_FIRSTPRIVATE_POINTER, OMP_CLAUSE_MAP_PRIVATE. + (create_omp_child_function): Set TREE_READONLY on .omp_data_i. + (find_combined_for): Allow searching for different GIMPLE_OMP_FOR + kinds. + (add_taskreg_looptemp_clauses): New function. + (scan_omp_parallel): Use it. + (scan_omp_task): Likewise. + (finish_taskreg_scan): Handle OMP_CLAUSE_SHARED_FIRSTPRIVATE. + For taskloop, move fields for the first two _LOOPTEMP_ clauses first. + (check_omp_nesting_restrictions): Handle GF_OMP_TARGET_KIND_ENTER_DATA + and GF_OMP_TARGET_KIND_EXIT_DATA. Formatting fixes. Allow the + sandwiched taskloop constructs. Type check + OMP_CLAUSE_DEPEND_{KIND,SOURCE}. Allow ordered simd inside of simd + region. Diagnose depend(source) or depend(sink:...) on + target constructs or task/taskloop. + (handle_simd_reference): Use get_name. + (lower_rec_input_clauses): Likewise. Ignore all + OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE clauses on taskloop construct. + Allow _LOOPTEMP_ clause on GOMP_TASK. Unshare new_var + before passing it to omp_clause_{default,copy}_ctor. Handle + OMP_CLAUSE_REDUCTION with MEM_REF OMP_CLAUSE_DECL. Set + lastprivate_firstprivate flag for linear that needs copyin and + copyout. Use BUILT_IN_ALLOCA_WITH_ALIGN instead of BUILT_IN_ALLOCA. + (lower_lastprivate_clauses): For OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE + on taskloop lookup decl in outer context. Pass true to + build_outer_var_ref lastprivate argument. Handle + OMP_CLAUSE_LASTPRIVATE_TASKLOOP_IV lastprivate if the decl is global + outside of outer taskloop for. + (lower_reduction_clauses): Handle OMP_CLAUSE_REDUCTION with MEM_REF + OMP_CLAUSE_DECL. + (lower_send_clauses): Ignore first two _LOOPTEMP_ clauses in taskloop + GOMP_TASK. Handle OMP_CLAUSE_SHARED_FIRSTPRIVATE. Handle + omp_member_access_dummy_var vars. Handle OMP_CLAUSE_REDUCTION + with MEM_REF OMP_CLAUSE_DECL. Use new lookup_sfield overload. + (lower_send_shared_vars): Ignore fields with NULL or FIELD_DECL + abstract origin. Handle omp_member_access_dummy_var vars. + (expand_parallel_call): Use expand_omp_build_assign. + (expand_task_call): Handle taskloop construct expansion. Add + REGION argument. Use GOMP_TASK_* defines instead of hardcoded + integers. Add priority argument to GOMP_task* calls. Or in + GOMP_TASK_FLAG_PRIORITY into flags if priority is present for + GOMP_task call. + (expand_omp_build_assign): Add prototype. Add AFTER + argument, if true emit statements after *GSI_P and continue linking. + (expand_omp_taskreg): Adjust expand_task_call caller. + (expand_omp_for_init_counts): Rename zero_iter_bb argument to + zero_iter1_bb and first_zero_iter to first_zero_iter1, add + zero_iter2_bb and first_zero_iter2 arguments, handle computation + of counts even for ordered loops. + (expand_omp_for_init_vars): Handle GOMP_TASK inner_stmt. + (expand_omp_ordered_source, expand_omp_ordered_sink, + expand_omp_ordered_source_sink, expand_omp_for_ordered_loops): New + functions. + (expand_omp_for_generic): Use omp_adjust_chunk_size. Handle linear + clauses on worksharing loop. Handle DOACROSS loop expansion. + (expand_omp_for_static_nochunk): Handle linear clauses on + worksharing loop. Adjust expand_omp_for_init_counts + callers. + (expand_omp_for_static_chunk): Likewise. Use omp_adjust_chunk_size. + (expand_omp_simd): Handle addressable fd->loop.v. Adjust + expand_omp_for_init_counts callers. + (expand_omp_taskloop_for_outer, expand_omp_taskloop_for_inner): New + functions. + (expand_omp_for): Call expand_omp_taskloop_for_* for taskloop. + Handle doacross loops. + (expand_omp_target): Handle GF_OMP_TARGET_KIND_ENTER_DATA and + GF_OMP_TARGET_KIND_EXIT_DATA. Pass flags and depend arguments to + GOMP_target_{41,update_41,enter_exit_data} libcalls. + (expand_omp): Don't expand ordered depend constructs here, record + ord_stmt instead for later expand_omp_for_generic. + (build_omp_regions_1): Handle GF_OMP_TARGET_KIND_ENTER_DATA and + GF_OMP_TARGET_KIND_EXIT_DATA. Treat GIMPLE_OMP_ORDERED with depend + clause as stand-alone directive. + (lower_omp_ordered_clauses): New function. + (lower_omp_ordered): Handle OMP_CLAUSE_SIMD, for OMP_CLAUSE_DEPEND + don't lower anything. + (lower_omp_for_lastprivate): Use last _looptemp_ clause + on taskloop for comparison. + (lower_omp_for): Handle taskloop constructs. Adjust OMP_CLAUSE_DECL + and OMP_CLAUSE_LINEAR_STEP so that expand_omp_for_* can use it during + expansion for linear adjustments. + (create_task_copyfn): Handle OMP_CLAUSE_SHARED_FIRSTPRIVATE. + (lower_depend_clauses): Assert not seeing sink/source depend kinds. + Set TREE_ADDRESSABLE on array. Change first argument from gimple * + to tree * pointing to the stmt's clauses. + (lower_omp_taskreg): Adjust lower_depend_clauses caller. + (lower_omp_target): Handle GF_OMP_TARGET_KIND_ENTER_DATA + and GF_OMP_TARGET_KIND_EXIT_DATA, depend clauses, + GOMP_MAP_{RELEASE,ALWAYS_{TO,FROM,TOFROM},FIRSTPRIVATE_POINTER,STRUCT} + map kinds, OMP_CLAUSE_{FIRSTPRIVATE,PRIVATE,{IS,USE}_DEVICE_PTR + clauses. Always use short kind and 8-bit align shift. + (lower_omp_regimplify_p): Use IS_TYPE_OR_DECL_P macro. + (struct lower_omp_regimplify_operands_data): New type. + (lower_omp_regimplify_operands_p, lower_omp_regimplify_operands): + New functions. + (lower_omp_1): Use lower_omp_regimplify_operands instead of + gimple_regimplify_operands. + (make_gimple_omp_edges): Handle GF_OMP_TARGET_KIND_ENTER_DATA and + GF_OMP_TARGET_KIND_EXIT_DATA. Treat GIMPLE_OMP_ORDERED with depend + clause as stand-alone directive. + (simd_clone_clauses_extract): Honor OMP_CLAUSE_LINEAR_KIND. + (simd_clone_mangle): Mangle the various linear kinds + per the new ABI. + (simd_clone_adjust_argument_types): Handle + SIMD_CLONE_ARG_TYPE_LINEAR_*_CONSTANT_STEP. + (simd_clone_init_simd_arrays): Don't do anything for uval. + (simd_clone_adjust): Handle + SIMD_CLONE_ARG_TYPE_LINEAR_REF_CONSTANT_STEP like + SIMD_CLONE_ARG_TYPE_LINEAR_CONSTANT_STEP. + Handle SIMD_CLONE_ARG_TYPE_LINEAR_UVAL_CONSTANT_STEP. + * omp-low.h (omp_member_access_dummy_var): New prototype. + * passes.def (pass_simduid_cleanup): Schedule another copy of the + pass after all optimizations. + * tree.c (omp_clause_code_name): Add entries for + OMP_CLAUSE_{TO_DECLARE,LINK,{USE,IS}_DEVICE_PTR,DEFAULTMAP,HINT} + and OMP_CLAUSE_{PRIORITY,GRAINSIZE,NUM_TASKS,NOGROUP,THREADS,SIMD}. + (omp_clause_num_ops): Likewise. Bump number of OMP_CLAUSE_REDUCTION + arguments to 5 and for OMP_CLAUSE_ORDERED to 1. + (walk_tree_1): Adjust for OMP_CLAUSE_ORDERED having 1 argument and + OMP_CLAUSE_REDUCTION 5 arguments. Handle + OMP_CLAUSE_{TO_DECLARE,LINK,{USE,IS}_DEVICE_PTR,DEFAULTMAP,HINT} + and OMP_CLAUSE_{PRIORITY,GRAINSIZE,NUM_TASKS,NOGROUP,THREADS,SIMD} + clauses. + * tree-core.h (enum omp_clause_linear_kind): New. + (struct tree_omp_clause): Change type of map_kind + from unsigned char to unsigned int. Add subcode.if_modifier + and subcode.linear_kind fields. + (enum omp_clause_code): Add + OMP_CLAUSE_{TO_DECLARE,LINK,{USE,IS}_DEVICE_PTR,DEFAULTMAP,HINT} + and OMP_CLAUSE_{PRIORITY,GRAINSIZE,NUM_TASKS,NOGROUP,THREADS,SIMD}. + (OMP_CLAUSE_REDUCTION): Document + OMP_CLAUSE_REDUCTION_DECL_PLACEHOLDER. + (enum omp_clause_depend_kind): Add OMP_CLAUSE_DEPEND_{SOURCE,SINK}. + * tree.def (OMP_FOR): Add OMP_FOR_ORIG_DECLS operand. + (OMP_CRITICAL): Move before OMP_SINGLE. Add OMP_CRITICAL_CLAUSES + operand. + (OMP_ORDERED): Move before OMP_SINGLE. Add OMP_ORDERED_CLAUSES + operand. + (OMP_TASKLOOP, OMP_TARGET_ENTER_DATA, OMP_TARGET_EXIT_DATA): New tree + codes. + * tree.h (OMP_BODY): Replace OMP_CRITICAL with OMP_TASKGROUP. + (OMP_CLAUSE_SET_MAP_KIND): Cast to unsigned int rather than unsigned + char. + (OMP_CRITICAL_NAME): Adjust to be 3rd operand instead of 2nd. + (OMP_CLAUSE_NUM_TASKS_EXPR): Formatting fix. + (OMP_STANDALONE_CLAUSES): Adjust to cover OMP_TARGET_{ENTER,EXIT}_DATA. + (OMP_CLAUSE_DEPEND_SINK_NEGATIVE, OMP_TARGET_COMBINED, + OMP_CLAUSE_MAP_PRIVATE, OMP_FOR_ORIG_DECLS, OMP_CLAUSE_IF_MODIFIER, + OMP_CLAUSE_MAP_MAYBE_ZERO_LENGTH_ARRAY_SECTION, OMP_CRITICAL_CLAUSES, + OMP_CLAUSE_PRIVATE_TASKLOOP_IV, OMP_CLAUSE_LASTPRIVATE_TASKLOOP_IV, + OMP_CLAUSE_HINT_EXPR, OMP_CLAUSE_SCHEDULE_SIMD, + OMP_CLAUSE_LINEAR_KIND, OMP_CLAUSE_REDUCTION_DECL_PLACEHOLDER, + OMP_CLAUSE_SHARED_FIRSTPRIVATE, OMP_ORDERED_CLAUSES, + OMP_TARGET_ENTER_DATA_CLAUSES, OMP_TARGET_EXIT_DATA_CLAUSES, + OMP_CLAUSE_NUM_TASKS_EXPR, OMP_CLAUSE_GRAINSIZE_EXPR, + OMP_CLAUSE_PRIORITY_EXPR, OMP_CLAUSE_ORDERED_EXPR): Define. + * tree-inline.c (remap_gimple_stmt): Handle clauses on + GIMPLE_OMP_ORDERED and GIMPLE_OMP_CRITICAL. For + IFN_GOMP_SIMD_ORDERED_{START,END} set has_simduid_loops. + * tree-nested.c (convert_nonlocal_omp_clauses): Handle + OMP_CLAUSE_{TO_DECLARE,LINK,{USE,IS}_DEVICE_PTR,SIMDLEN,PRIORITY,SIMD} + and OMP_CLAUSE_{GRAINSIZE,NUM_TASKS,HINT,NOGROUP,THREADS,DEFAULTMAP} + clauses. Handle OMP_CLAUSE_REDUCTION_DECL_PLACEHOLDER. + (convert_local_omp_clauses): Likewise. + * tree-pretty-print.c (dump_omp_clause): Handle + OMP_CLAUSE_{TO_DECLARE,LINK,{USE,IS}_DEVICE_PTR,SIMDLEN,PRIORITY,SIMD} + and OMP_CLAUSE_{GRAINSIZE,NUM_TASKS,HINT,NOGROUP,THREADS,DEFAULTMAP} + clauses. Handle OMP_CLAUSE_IF_MODIFIER, OMP_CLAUSE_ORDERED_EXPR, + OMP_CLAUSE_SCHEDULE_SIMD, OMP_CLAUSE_LINEAR_KIND, + OMP_CLAUSE_DEPEND_{SOURCE,SINK}. Use "delete" for + GOMP_MAP_FORCE_DEALLOC. Handle + GOMP_MAP_{ALWAYS_{TO,FROM,TOFROM},RELEASE,FIRSTPRIVATE_POINTER,STRUCT}. + (dump_generic_node): Handle OMP_TASKLOOP, OMP_TARGET_{ENTER,EXIT}_DATA + and clauses on OMP_ORDERED and OMP_CRITICAL. + * tree-vectorizer.c (adjust_simduid_builtins): Adjust comment. + Remove IFN_GOMP_SIMD_ORDERED_{START,END}. + (vectorize_loops): Adjust comments. + (pass_simduid_cleanup::execute): Likewise. + * tree-vect-stmts.c (vectorizable_simd_clone_call): Handle + SIMD_CLONE_ARG_TYPE_LINEAR_{REF,VAL,UVAL}_CONSTANT_STEP. + * wide-int.h (wi::gcd): New. + 2015-10-13 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.c (classify_argument): Use CEIL where applicable. diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 137cdfe782f..9effe45f230 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2015-10-13 Jakub Jelinek <jakub@redhat.com> + + * gcc-interface/utils.c (DEF_FUNCTION_TYPE_9, DEF_FUNCTION_TYPE_10, + DEF_FUNCTION_TYPE_11): Define. + 2015-10-09 Eric Botcazou <ebotcazou@adacore.com> * gcc-interface/Make-lang.in: Make sure that GNAT1_OBJS and not just diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 5af62aa5a34..4521a275b36 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,31 @@ +2015-10-13 Jakub Jelinek <jakub@redhat.com> + Aldy Hernandez <aldyh@redhat.com> + + * c-common.c (enum c_builtin_type): Define DEF_FUNCTION_TYPE_9, + DEF_FUNCTION_TYPE_10 and DEF_FUNCTION_TYPE_11. + (c_define_builtins): Likewise. + * c-common.h (enum c_omp_clause_split): Add + C_OMP_CLAUSE_SPLIT_TASKLOOP. + (c_finish_omp_critical, c_finish_omp_ordered): Add CLAUSES argument. + (c_finish_omp_for): Add ORIG_DECLV argument. + * c-cppbuiltin.c (c_cpp_builtins): Predefine _OPENMP as + 201511 instead of 201307. + * c-omp.c (c_finish_omp_critical): Add CLAUSES argument, set + OMP_CRITICAL_CLAUSES to it. + (c_finish_omp_ordered): Add CLAUSES argument, set + OMP_ORDERED_CLAUSES to it. + (c_finish_omp_for): Add ORIG_DECLV argument, set OMP_FOR_ORIG_DECLS + to it if OMP_FOR. Clear DECL_INITIAL on the IVs. + (c_omp_split_clauses): Handle OpenMP 4.5 combined/composite + constructs and new OpenMP 4.5 clauses. Clear + OMP_CLAUSE_SCHEDULE_SIMD if not combined with OMP_SIMD. Add + verification code. + * c-pragma.c (omp_pragmas_simd): Add taskloop. + * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_TASKLOOP. + (enum pragma_omp_clause): Add + PRAGMA_OMP_CLAUSE_{DEFAULTMAP,GRAINSIZE,HINT,{IS,USE}_DEVICE_PTR} + and PRAGMA_OMP_CLAUSE_{LINK,NOGROUP,NUM_TASKS,PRIORITY,SIMD,THREADS}. + 2015-10-05 Richard Sandiford <richard.sandiford@arm.com> * c-lex.c (interpret_float): Use real_equal instead of diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index f87a29a07d1..a54921a145f 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,85 @@ +2015-10-13 Jakub Jelinek <jakub@redhat.com> + Aldy Hernandez <aldyh@redhat.com> + + * c-parser.c (c_parser_pragma): Handle PRAGMA_OMP_ORDERED here. + (c_parser_omp_clause_name): Handle OpenMP 4.5 clauses. + (c_parser_omp_variable_list): Handle structure elements for + map, to and from clauses. Handle array sections in reduction + clause. Formatting fixes. + (c_parser_omp_clause_if): Add IS_OMP argument, handle parsing of + if clause modifiers. + (c_parser_omp_clause_num_tasks, c_parser_omp_clause_grainsize, + c_parser_omp_clause_priority, c_parser_omp_clause_hint, + c_parser_omp_clause_defaultmap, c_parser_omp_clause_use_device_ptr, + c_parser_omp_clause_is_device_ptr): New functions. + (c_parser_omp_clause_ordered): Parse optional parameter. + (c_parser_omp_clause_reduction): Handle array reductions. + (c_parser_omp_clause_schedule): Parse optional simd modifier. + (c_parser_omp_clause_nogroup, c_parser_omp_clause_orderedkind): New + functions. + (c_parser_omp_clause_linear): Parse linear clause modifiers. + (c_parser_omp_clause_depend_sink): New function. + (c_parser_omp_clause_depend): Parse source/sink depend kinds. + (c_parser_omp_clause_map): Parse release/delete map kinds and + optional always modifier. + (c_parser_oacc_all_clauses): Adjust c_parser_omp_clause_if + and c_finish_omp_clauses callers. + (c_parser_omp_all_clauses): Likewise. Parse OpenMP 4.5 clauses. + Parse "to" as OMP_CLAUSE_TO_DECLARE if on declare target directive. + (c_parser_oacc_cache): Adjust c_finish_omp_clauses caller. + (OMP_CRITICAL_CLAUSE_MASK): Define. + (c_parser_omp_critical): Parse critical clauses. + (c_parser_omp_for_loop): Handle doacross loops, adjust + c_finish_omp_for and c_finish_omp_clauses callers. + (OMP_SIMD_CLAUSE_MASK): Add simdlen clause. + (c_parser_omp_simd): Allow ordered clause if it has no parameter. + (OMP_FOR_CLAUSE_MASK): Add linear clause. + (c_parser_omp_for): Disallow ordered clause when combined with + distribute. Disallow linear clause when combined with distribute + and not combined with simd. + (OMP_ORDERED_CLAUSE_MASK, OMP_ORDERED_DEPEND_CLAUSE_MASK): Define. + (c_parser_omp_ordered): Add CONTEXT argument, remove LOC argument, + parse clauses and if depend clause is found, don't parse a body. + (c_parser_omp_parallel): Disallow copyin clause on target parallel. + Allow target parallel without for after it. + (OMP_TASK_CLAUSE_MASK): Add priority clause. + (OMP_TARGET_DATA_CLAUSE_MASK): Add use_device_ptr clause. + (c_parser_omp_target_data): Diagnose no map clauses or clauses with + invalid kinds. + (OMP_TARGET_UPDATE_CLAUSE_MASK): Add depend and nowait clauses. + (OMP_TARGET_ENTER_DATA_CLAUSE_MASK, + OMP_TARGET_EXIT_DATA_CLAUSE_MASK): Define. + (c_parser_omp_target_enter_data, c_parser_omp_target_exit_data): New + functions. + (OMP_TARGET_CLAUSE_MASK): Add depend, nowait, private, firstprivate, + defaultmap and is_device_ptr clauses. + (c_parser_omp_target): Parse target parallel and target simd. Set + OMP_TARGET_COMBINED on combined constructs. Parse target enter data + and target exit data. Diagnose invalid map kinds. + (OMP_DECLARE_TARGET_CLAUSE_MASK): Define. + (c_parser_omp_declare_target): Parse OpenMP 4.5 forms of this + construct. + (c_parser_omp_declare_reduction): Use STRIP_NOPS when checking for + &omp_priv. + (OMP_TASKLOOP_CLAUSE_MASK): Define. + (c_parser_omp_taskloop): New function. + (c_parser_omp_construct): Don't handle PRAGMA_OMP_ORDERED here, + handle PRAGMA_OMP_TASKLOOP. + (c_parser_cilk_for): Adjust c_finish_omp_clauses callers. + * c-tree.h (c_finish_omp_clauses): Add two new arguments. + * c-typeck.c (handle_omp_array_sections_1): Fix comment typo. + Add IS_OMP argument, handle structure element bases, diagnose + bitfields, pass IS_OMP recursively, diagnose known zero length + array sections in depend clauses, handle array sections in reduction + clause, diagnose negative length even for pointers. + (handle_omp_array_sections): Add IS_OMP argument, use auto_vec for + types, pass IS_OMP down to handle_omp_array_sections_1, handle + array sections in reduction clause, set + OMP_CLAUSE_MAP_MAYBE_ZERO_LENGTH_ARRAY_SECTION if map could be zero + length array section, use GOMP_MAP_FIRSTPRIVATE_POINTER for IS_OMP. + (c_finish_omp_clauses): Add IS_OMP and DECLARE_SIMD arguments. + Handle new OpenMP 4.5 clauses and new restrictions for the old ones. + 2015-10-06 Marek Polacek <polacek@redhat.com> * c-parser.c (c_parser_statement_after_labels): Use diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 517ce522960..b5951afbee4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,150 @@ +2015-10-13 Jakub Jelinek <jakub@redhat.com> + Aldy Hernandez <aldyh@redhat.com> + + * class.c (finish_struct_1): Call finish_omp_declare_simd_methods. + * cp-gimplify.c (cp_gimplify_expr): Handle OMP_TASKLOOP. + (cp_genericize_r): Likewise. + (cxx_omp_finish_clause): Don't diagnose references. + (cxx_omp_disregard_value_expr): New function. + * cp-objcp-common.h (LANG_HOOKS_OMP_DISREGARD_VALUE_EXPR): Redefine. + * cp-tree.h (OMP_FOR_GIMPLIFYING_P): Document for OMP_TASKLOOP. + (DECL_OMP_PRIVATIZED_MEMBER): Define. + (finish_omp_declare_simd_methods, push_omp_privatization_clauses, + pop_omp_privatization_clauses, save_omp_privatization_clauses, + restore_omp_privatization_clauses, omp_privatize_field, + cxx_omp_disregard_value_expr): New prototypes. + (finish_omp_clauses): Add two new arguments. + (finish_omp_for): Add ORIG_DECLV argument. + * parser.c (cp_parser_lambda_body): Call + save_omp_privatization_clauses and restore_omp_privatization_clauses. + (cp_parser_omp_clause_name): Handle OpenMP 4.5 clauses. + (cp_parser_omp_var_list_no_open): Handle structure elements for + map, to and from clauses. Handle array sections in reduction + clause. Parse this keyword. Formatting fixes. + (cp_parser_omp_clause_if): Add IS_OMP argument, handle parsing of + if clause modifiers. + (cp_parser_omp_clause_num_tasks, cp_parser_omp_clause_grainsize, + cp_parser_omp_clause_priority, cp_parser_omp_clause_hint, + cp_parser_omp_clause_defaultmap): New functions. + (cp_parser_omp_clause_ordered): Parse optional parameter. + (cp_parser_omp_clause_reduction): Handle array reductions. + (cp_parser_omp_clause_schedule): Parse optional simd modifier. + (cp_parser_omp_clause_nogroup, cp_parser_omp_clause_orderedkind): + New functions. + (cp_parser_omp_clause_linear): Parse linear clause modifiers. + (cp_parser_omp_clause_depend_sink): New function. + (cp_parser_omp_clause_depend): Parse source/sink depend kinds. + (cp_parser_omp_clause_map): Parse release/delete map kinds and + optional always modifier. + (cp_parser_oacc_all_clauses): Adjust cp_parser_omp_clause_if + and finish_omp_clauses callers. + (cp_parser_omp_all_clauses): Likewise. Parse OpenMP 4.5 clauses. + Parse "to" as OMP_CLAUSE_TO_DECLARE if on declare target directive. + (OMP_CRITICAL_CLAUSE_MASK): Define. + (cp_parser_omp_critical): Parse critical clauses. + (cp_parser_omp_for_incr): Use cp_tree_equal if + processing_template_decl. + (cp_parser_omp_for_loop_init): Return tree instead of bool. Handle + non-static data member iterators. + (cp_parser_omp_for_loop): Handle doacross loops, adjust + finish_omp_for and finish_omp_clauses callers. + (cp_omp_split_clauses): Adjust finish_omp_clauses caller. + (OMP_SIMD_CLAUSE_MASK): Add simdlen clause. + (cp_parser_omp_simd): Allow ordered clause if it has no parameter. + (OMP_FOR_CLAUSE_MASK): Add linear clause. + (cp_parser_omp_for): Disallow ordered clause when combined with + distribute. Disallow linear clause when combined with distribute + and not combined with simd. + (OMP_ORDERED_CLAUSE_MASK, OMP_ORDERED_DEPEND_CLAUSE_MASK): Define. + (cp_parser_omp_ordered): Add CONTEXT argument, return bool instead + of tree, parse clauses and if depend clause is found, don't parse + a body. + (cp_parser_omp_parallel): Disallow copyin clause on target parallel. + Allow target parallel without for after it. + (OMP_TASK_CLAUSE_MASK): Add priority clause. + (OMP_TARGET_DATA_CLAUSE_MASK): Add use_device_ptr clause. + (cp_parser_omp_target_data): Diagnose no map clauses or clauses with + invalid kinds. + (OMP_TARGET_UPDATE_CLAUSE_MASK): Add depend and nowait clauses. + (OMP_TARGET_ENTER_DATA_CLAUSE_MASK, + OMP_TARGET_EXIT_DATA_CLAUSE_MASK): Define. + (cp_parser_omp_target_enter_data, cp_parser_omp_target_exit_data): New + functions. + (OMP_TARGET_CLAUSE_MASK): Add depend, nowait, private, firstprivate, + defaultmap and is_device_ptr clauses. + (cp_parser_omp_target): Parse target parallel and target simd. Set + OMP_TARGET_COMBINED on combined constructs. Parse target enter data + and target exit data. Diagnose invalid map kinds. + (cp_parser_oacc_cache): Adjust finish_omp_clauses caller. + (OMP_DECLARE_TARGET_CLAUSE_MASK): Define. + (cp_parser_omp_declare_target): Parse OpenMP 4.5 forms of this + construct. + (OMP_TASKLOOP_CLAUSE_MASK): Define. + (cp_parser_omp_taskloop): New function. + (cp_parser_omp_construct): Don't handle PRAGMA_OMP_ORDERED here, + handle PRAGMA_OMP_TASKLOOP. + (cp_parser_pragma): Handle PRAGMA_OMP_ORDERED here directly, + handle PRAGMA_OMP_TASKLOOP, call push_omp_privatization_clauses + and pop_omp_privatization_clauses around parsing calls. + (cp_parser_cilk_for): Adjust finish_omp_clauses caller. + * pt.c (apply_late_template_attributes): Adjust tsubst_omp_clauses + and finish_omp_clauses callers. + (tsubst_omp_clause_decl): Return NULL if decl is NULL. + For TREE_LIST, copy over OMP_CLAUSE_DEPEND_SINK_NEGATIVE bit. + Use tsubst_expr instead of tsubst_copy, undo convert_from_reference + effects. + (tsubst_omp_clauses): Add ALLOW_FIELDS argument. Handle new + OpenMP 4.5 clauses. Use tsubst_omp_clause_decl for more clauses. + If ALLOW_FIELDS, handle non-static data members in the clauses. + Clear OMP_CLAUSE_LINEAR_STEP if it has been cleared before. + (omp_parallel_combined_clauses): New variable. + (tsubst_omp_for_iterator): Add ORIG_DECLV argument, recur on + OMP_FOR_ORIG_DECLS, handle non-static data member iterators. + Improve handling of clauses on combined constructs. + (tsubst_expr): Call push_omp_privatization_clauses and + pop_omp_privatization_clauses around instantiation of certain + OpenMP constructs, improve handling of clauses on combined + constructs, handle OMP_TASKLOOP, adjust tsubst_omp_for_iterator, + tsubst_omp_clauses and finish_omp_for callers, handle clauses on + critical and ordered, handle OMP_TARGET_{ENTER,EXIT}_DATA. + (instantiate_decl): Call save_omp_privatization_clauses and + restore_omp_privatization_clauses around instantiation. + (dependent_omp_for_p): Fix up comment typo. Handle SCOPE_REF. + * semantics.c (omp_private_member_map, omp_private_member_vec, + omp_private_member_ignore_next): New variables. + (finish_non_static_data_member): Return dummy decl for privatized + non-static data members. + (omp_clause_decl_field, omp_clause_printable_decl, + omp_note_field_privatization, omp_privatize_field): New functions. + (handle_omp_array_sections_1): Fix comment typo. + Add IS_OMP argument, handle structure element bases, diagnose + bitfields, pass IS_OMP recursively, diagnose known zero length + array sections in depend clauses, handle array sections in reduction + clause, diagnose negative length even for pointers. + (handle_omp_array_sections): Add IS_OMP argument, use auto_vec for + types, pass IS_OMP down to handle_omp_array_sections_1, handle + array sections in reduction clause, set + OMP_CLAUSE_MAP_MAYBE_ZERO_LENGTH_ARRAY_SECTION if map could be zero + length array section, use GOMP_MAP_FIRSTPRIVATE_POINTER for IS_OMP. + (finish_omp_reduction_clause): Handle array sections and arrays. + Use omp_clause_printable_decl. + (finish_omp_declare_simd_methods, cp_finish_omp_clause_depend_sink): + New functions. + (finish_omp_clauses): Add ALLOW_FIELDS and DECLARE_SIMD arguments. + Handle new OpenMP 4.5 clauses and new restrictions for the old + ones, handle non-static data members, reject this keyword when not + allowed. + (push_omp_privatization_clauses, pop_omp_privatization_clauses, + save_omp_privatization_clauses, restore_omp_privatization_clauses): + New functions. + (handle_omp_for_class_iterator): Handle OMP_TASKLOOP class iterators. + Add collapse and ordered arguments. Fix handling of lastprivate + iterators in doacross loops. + (finish_omp_for): Add ORIG_DECLV argument, handle doacross loops, + adjust c_finish_omp_for, handle_omp_for_class_iterator and + finish_omp_clauses callers. Fill in OMP_CLAUSE_LINEAR_STEP on simd + loops with non-static data member iterators. + 2015-10-12 Ville Voutilainen <ville.voutilainen@gmail.com> PR c++/58566 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 8d21be5b64e..4bd35774cf9 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,27 @@ +2015-10-13 Jakub Jelinek <jakub@redhat.com> + Ilya Verbin <ilya.verbin@intel.com> + + * f95-lang.c (DEF_FUNCTION_TYPE_9, DEF_FUNCTION_TYPE_10, + DEF_FUNCTION_TYPE_11, DEF_FUNCTION_TYPE_VAR_1): Define. + * trans-openmp.c (gfc_trans_omp_clauses): Set + OMP_CLAUSE_IF_MODIFIER to ERROR_MARK, OMP_CLAUSE_ORDERED_EXPR + to NULL. + (gfc_trans_omp_critical): Adjust for addition of clauses. + (gfc_trans_omp_ordered): Likewise. + * types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, + BT_FN_BOOL_UINT_ULLPTR_ULLPTR_ULLPTR, + BT_FN_BOOL_UINT_LONGPTR_LONG_LONGPTR_LONGPTR, + BT_FN_BOOL_UINT_ULLPTR_ULL_ULLPTR_ULLPTR, + BT_FN_VOID_INT_SIZE_PTR_PTR_PTR_UINT_PTR, + BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR, + BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR_INT, + BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_LONG_LONG_LONG, + BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_UINT_LONG_INT_ULL_ULL_ULL, + BT_FN_VOID_LONG_VAR, BT_FN_VOID_ULL_VAR): New. + (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR, + BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR, + BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT_PTR): Remove. + 2015-10-07 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/65889 diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 05fa9e6afe9..4922bc0511b 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,10 @@ +2015-10-13 Jakub Jelinek <jakub@redhat.com> + + * jit-builtins.c (DEF_FUNCTION_TYPE_9, DEF_FUNCTION_TYPE_10, + DEF_FUNCTION_TYPE_11): Define. + * jit-builtins.h (DEF_FUNCTION_TYPE_9, DEF_FUNCTION_TYPE_10, + DEF_FUNCTION_TYPE_11): Define. + 2015-09-30 Thomas Schwinge <thomas@codesourcery.com> Ulrich Drepper <drepper@gmail.com> diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index e75b4eaac41..79cd853241a 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,8 @@ +2015-10-13 Jakub Jelinek <jakub@redhat.com> + + * lto-lang.c (DEF_FUNCTION_TYPE_9, DEF_FUNCTION_TYPE_10, + DEF_FUNCTION_TYPE_11): Define. + 2015-10-10 Jan Hubicka <hubicka@ucw.cz> * lto.c (hash_canonical_type): Honor diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e8ead84ac8e..c4fd225d4a0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,78 @@ +2015-10-13 Jakub Jelinek <jakub@redhat.com> + Aldy Hernandez <aldyh@redhat.com> + + * c-c++-common/gomp/cancel-1.c (f2): Add map clause to target data. + * c-c++-common/gomp/clauses-1.c: New test. + * c-c++-common/gomp/clauses-2.c: New test. + * c-c++-common/gomp/clauses-3.c: New test. + * c-c++-common/gomp/clauses-4.c: New test. + * c-c++-common/gomp/declare-target-1.c: New test. + * c-c++-common/gomp/declare-target-2.c: New test. + * c-c++-common/gomp/depend-3.c: New test. + * c-c++-common/gomp/depend-4.c: New test. + * c-c++-common/gomp/doacross-1.c: New test. + * c-c++-common/gomp/if-1.c: New test. + * c-c++-common/gomp/if-2.c: New test. + * c-c++-common/gomp/linear-1.c: New test. + * c-c++-common/gomp/map-2.c: New test. + * c-c++-common/gomp/map-3.c: New test. + * c-c++-common/gomp/nesting-1.c (f_omp_parallel, + f_omp_target_data): Add map clause to target data. + * c-c++-common/gomp/nesting-warn-1.c (f_omp_target): Likewise. + * c-c++-common/gomp/ordered-1.c: New test. + * c-c++-common/gomp/ordered-2.c: New test. + * c-c++-common/gomp/ordered-3.c: New test. + * c-c++-common/gomp/pr61486-1.c (foo): Remove linear clause + on non-iterator. + * c-c++-common/gomp/pr61486-2.c (test, test2): Remove ordered + clause and ordered construct where no longer allowed. + * c-c++-common/gomp/priority-1.c: New test. + * c-c++-common/gomp/reduction-1.c: New test. + * c-c++-common/gomp/schedule-simd-1.c: New test. + * c-c++-common/gomp/sink-1.c: New test. + * c-c++-common/gomp/sink-2.c: New test. + * c-c++-common/gomp/sink-3.c: New test. + * c-c++-common/gomp/sink-4.c: New test. + * c-c++-common/gomp/udr-1.c: New test. + * c-c++-common/taskloop-1.c: New test. + * c-c++-common/cpp/openmp-define-3.c: Adjust for the new + value of _OPENMP macro. + * c-c++-common/cilk-plus/PS/body.c (foo): Adjust expected diagnostics. + * c-c++-common/goacc-gomp/nesting-fail-1.c (f_acc_parallel, + f_acc_kernels, f_acc_data, f_acc_loop): Add map clause to target data. + * gcc.dg/gomp/clause-1.c: + * gcc.dg/gomp/reduction-1.c: New test. + * gcc.dg/gomp/sink-fold-1.c: New test. + * gcc.dg/gomp/sink-fold-2.c: New test. + * gcc.dg/gomp/sink-fold-3.c: New test. + * gcc.dg/vect/vect-simd-clone-15.c: New test. + * g++.dg/gomp/clause-1.C (T::test): Remove dg-error on privatization + of non-static data members. + * g++.dg/gomp/clause-3.C (foo): Remove one dg-error directive. + Add some linear clause tests. + * g++.dg/gomp/declare-simd-3.C: New test. + * g++.dg/gomp/linear-1.C: New test. + * g++.dg/gomp/member-1.C: New test. + * g++.dg/gomp/member-2.C: New test. + * g++.dg/gomp/pr66571-2.C: New test. + * g++.dg/gomp/pr67504.C (foo): Add test for ordered clause with + dependent argument. + * g++.dg/gomp/pr67522.C (foo): Add test for invalid array section + in reduction clause. + * g++.dg/gomp/reference-1.C: New test. + * g++.dg/gomp/sink-1.C: New test. + * g++.dg/gomp/sink-2.C: New test. + * g++.dg/gomp/sink-3.C: New test. + * g++.dg/gomp/task-1.C: Remove both dg-error directives. + * g++.dg/gomp/this-1.C: New test. + * g++.dg/gomp/this-2.C: New test. + * g++.dg/vect/simd-clone-2.cc: New test. + * g++.dg/vect/simd-clone-2.h: New test. + * g++.dg/vect/simd-clone-3.cc: New test. + * g++.dg/vect/simd-clone-4.cc: New test. + * g++.dg/vect/simd-clone-4.h: New test. + * g++.dg/vect/simd-clone-5.cc: New test. + 2015-10-13 Christophe Lyon <christophe.lyon@linaro.org> * gcc/testsuite/gcc.target/aarch64/table-intrinsics.c: Fix regexp |