From: GCC Administrator Date: Mon, 2 Nov 2020 20:53:00 +0000 (+0000) Subject: Daily bump. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88ce3d5fbb948cc600800b15f4ca774a0ce8e7a7;p=gcc.git Daily bump. --- diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 113fdc5d541..b7f8a0ca153 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,10 @@ +2020-10-30 Martin Liska + + * gcc-changelog/git_commit.py: Handle empty groups in + file description. + * gcc-changelog/test_email.py: New test. + * gcc-changelog/test_patches.txt: Likewise. + 2020-09-21 Tobias Burnus * mklog.py: Parse first 10 lines for PR/DR number diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3291758820d..bfdd1e566e0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,459 @@ +2020-11-02 Martin Sebor + + * doc/invoke.texi (-Wstringop-overflow): Correct default setting. + (-Wstringop-overread): Move past -Wstringop-overflow. + +2020-11-02 François-Xavier Coudert + + PR bootstrap/57076 + * Makefile.in (gcc-vers.texi): Quote @, { and }. + +2020-11-02 Carl Love + + PR target/93449 + * config/rs6000/altivec.h (__builtin_bcdadd, __builtin_bcdadd_lt, + __builtin_bcdadd_eq, __builtin_bcdadd_gt, __builtin_bcdadd_ofl, + __builtin_bcdadd_ov, __builtin_bcdsub, __builtin_bcdsub_lt, + __builtin_bcdsub_eq, __builtin_bcdsub_gt, __builtin_bcdsub_ofl, + __builtin_bcdsub_ov, __builtin_bcdinvalid, __builtin_bcdmul10, + __builtin_bcddiv10, __builtin_bcd2dfp, __builtin_bcdcmpeq, + __builtin_bcdcmpgt, __builtin_bcdcmplt, __builtin_bcdcmpge, + __builtin_bcdcmple): Add defines. + * config/rs6000/altivec.md: Add UNSPEC_BCDSHIFT. + (BCD_TEST): Add le, ge to code iterator. + Add VBCD mode iterator. + (bcd_test, *bcd_test2, + bcd_, bcd_): Add mode to name. + Change iterator from V1TI to VBCD. + (*bcdinvalid_, bcdshift_v16qi): New define_insn. + (bcdinvalid_, bcdmul10_v16qi, bcddiv10_v16qi): New define. + * config/rs6000/dfp.md (dfp_denbcd_v16qi_inst): New define_insn. + (dfp_denbcd_v16qi): New define_expand. + * config/rs6000/rs6000-builtin.def (BU_P8V_MISC_1): New define. + (BCDADD): Replaced with BCDADD_V1TI and BCDADD_V16QI. + (BCDADD_LT): Replaced with BCDADD_LT_V1TI and BCDADD_LT_V16QI. + (BCDADD_EQ): Replaced with BCDADD_EQ_V1TI and BCDADD_EQ_V16QI. + (BCDADD_GT): Replaced with BCDADD_GT_V1TI and BCDADD_GT_V16QI. + (BCDADD_OV): Replaced with BCDADD_OV_V1TI and BCDADD_OV_V16QI. + (BCDSUB_V1TI, BCDSUB_V16QI, BCDSUB_LT_V1TI, BCDSUB_LT_V16QI, + BCDSUB_LE_V1TI, BCDSUB_LE_V16QI, BCDSUB_EQ_V1TI, BCDSUB_EQ_V16QI, + BCDSUB_GT_V1TI, BCDSUB_GT_V16QI, BCDSUB_GE_V1TI, BCDSUB_GE_V16QI, + BCDSUB_OV_V1TI, BCDSUB_OV_V16QI, BCDINVALID_V1TI, BCDINVALID_V16QI, + BCDMUL10_V16QI, BCDDIV10_V16QI, DENBCD_V16QI): New builtin definitions. + (BCDADD, BCDADD_LT, BCDADD_EQ, BCDADD_GT, BCDADD_OV, BCDSUB, BCDSUB_LT, + BCDSUB_LE, BCDSUB_EQ, BCDSUB_GT, BCDSUB_GE, BCDSUB_OV, BCDINVALID, + BCDMUL10, BCDDIV10, DENBCD): New overload definitions. + * config/rs6000/rs6000-call.c (P8V_BUILTIN_VEC_BCDADD, P8V_BUILTIN_VEC_BCDADD_LT, + P8V_BUILTIN_VEC_BCDADD_EQ, P8V_BUILTIN_VEC_BCDADD_GT, P8V_BUILTIN_VEC_BCDADD_OV, + P8V_BUILTIN_VEC_BCDINVALID, P9V_BUILTIN_VEC_BCDMUL10, P8V_BUILTIN_VEC_DENBCD. + P8V_BUILTIN_VEC_BCDSUB, P8V_BUILTIN_VEC_BCDSUB_LT, P8V_BUILTIN_VEC_BCDSUB_LE, + P8V_BUILTIN_VEC_BCDSUB_EQ, P8V_BUILTIN_VEC_BCDSUB_GT, P8V_BUILTIN_VEC_BCDSUB_GE, + P8V_BUILTIN_VEC_BCDSUB_OV): New overloaded specifications. + (CODE_FOR_bcdadd): Replaced with CODE_FOR_bcdadd_v16qi and CODE_FOR_bcdadd_v1ti. + (CODE_FOR_bcdadd_lt): Replaced with CODE_FOR_bcdadd_lt_v16qi and CODE_FOR_bcdadd_lt_v1ti. + (CODE_FOR_bcdadd_eq): Replaced with CODE_FOR_bcdadd_eq_v16qi and CODE_FOR_bcdadd_eq_v1ti. + (CODE_FOR_bcdadd_gt): Replaced with CODE_FOR_bcdadd_gt_v16qi and CODE_FOR_bcdadd_gt_v1ti. + (CODE_FOR_bcdsub): Replaced with CODE_FOR_bcdsub_v16qi and CODE_FOR_bcdsub_v1ti. + (CODE_FOR_bcdsub_lt): Replaced with CODE_FOR_bcdsub_lt_v16qi and CODE_FOR_bcdsub_lt_v1ti. + (CODE_FOR_bcdsub_eq): Replaced with CODE_FOR_bcdsub_eq_v16qi and CODE_FOR_bcdsub_eq_v1ti. + (CODE_FOR_bcdsub_gt): Replaced with CODE_FOR_bcdsub_gt_v16qi and CODE_FOR_bcdsub_gt_v1ti. + (rs6000_expand_ternop_builtin): Add CODE_FOR_dfp_denbcd_v16qi to else if. + * doc/extend.texi: Add documentation for new builtins. + +2020-11-02 Nathan Sidwell + + * tree.c (cache_integer_cst): Fixup pointer caching to match + wide_int_to_type_1's expectations. Add comment. + +2020-11-02 Nathan Sidwell + + * tree.h (id_equal): Call the symetric predicate with swapped + arguments. + +2020-11-02 Nathan Sidwell + + * print-tree.c (print_node): Display all the operands of a call + expr. + +2020-11-02 Vladimir N. Makarov + + * config/rs6000/vsx.md (*vsx_extract__store_p9): Add hint * + to 2nd alternative of the 1st scratch. + +2020-11-02 Sudakshina Das + + PR target/97638 + * config/aarch64/aarch64-bti-insert.c (aarch64_pac_insn_p): Update + return value on INSN_P check. + +2020-11-02 Richard Biener + + * tree.h (build_real_from_wide): Declare. + * tree.c (build_real_from_wide): New function. + * tree-vect-slp.c (vect_build_slp_tree_2): Remove + restriction on induction vectorization, represent + the initial value. + * tree-vect-loop.c (vect_model_induction_cost): Inline ... + (vectorizable_induction): ... here. Rewrite SLP + code generation. + +2020-11-02 Martin Jambor + + * dbgcnt.def (ipa_cp_values): New counter. + (ipa_cp_vr): Likewise. + * ipa-cp.c (decide_about_value): Check and bump ipa_cp_values debug + counter. + (decide_whether_version_node): Likewise. + (ipcp_store_vr_results):Check and bump ipa_cp_vr debug counter. + +2020-11-02 Christophe Lyon + + * config/arm/arm.c (arm_thumb1_mi_thunk): Build mi_delta in r3 and + do not emit function address and delta when -mpure-code is used. + +2020-11-02 Christophe Lyon + + * config/arm/thumb1.md (thumb1_movsi_insn): Call + thumb1_gen_const_int_print. + * config/arm/arm-protos.h (thumb1_gen_const_int_print): Add + prototype. + * config/arm/arm.c (thumb1_gen_const_int_print): New. + +2020-11-02 Christophe Lyon + + * config/arm/arm.c (thumb1_const_rtl, thumb1_const_print): New + classes. + (thumb1_gen_const_int): Rename to ... + (thumb1_gen_const_int_1): ... New helper function. Add capability + to emit either RTL or asm, improve generated code. + (thumb1_gen_const_int_rtl): New function. + * config/arm/arm-protos.h (thumb1_gen_const_int): Rename to + thumb1_gen_const_int_rtl. + * config/arm/thumb1.md: Call thumb1_gen_const_int_rtl instead + of thumb1_gen_const_int. + +2020-11-02 Richard Biener + + PR tree-optimization/97558 + * tree-vect-loop.c (vectorizable_reduction): For nested SLP + cycles compute invariant operands vector type. + +2020-11-02 Richard Biener + + PR tree-optimization/97558 + * tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): + Check for any mismatch in pattern vs. non-pattern and dissolve + the group if there is one. + * tree-vect-slp.c (vect_analyze_slp_instance): Avoid + analyzing not relevant reductions. + (vect_analyze_slp): Avoid analyzing not relevant reduction + groups. + +2020-11-02 Richard Biener + + PR tree-optimization/97650 + * tree-vect-slp.c (vect_get_and_check_slp_defs): Check + for SSA_NAME before checking SSA_NAME_IS_DEFAULT_DEF. + +2020-11-02 Kito Cheng + + * common/config/riscv/riscv-common.c + (riscv_subset_list::parse_multiletter_ext): Checking multiletter + extension has more than 1 letter. + +2020-11-02 Kito Cheng + + * config.gcc (riscv*-*-*): Handle --with-multilib-generator. + * configure: Regen. + * configure.ac: Add --with-multilib-generator. + * config/riscv/multilib-generator: Exit when parsing arch string error. + * config/riscv/t-withmultilib-generator: New. + * doc/install.texi: Document --with-multilib-generator. + +2020-11-02 Christophe Lyon + + PR target/96770 + * config/arm/arm.c (thumb_legitimate_constant_p): Accept + (symbol_ref + addend) when literal pool is disabled. + (arm_valid_symbolic_address_p): Add support for thumb-1 without + MOVT/MOVW. + * config/arm/thumb1.md (*thumb1_movsi_insn): Accept (symbol_ref + + addend) in the pure-code alternative. + +2020-11-02 Christophe Lyon + + PR target/96967 + * config/arm/arm.c (thumb_legitimate_constant_p): Add support for + disabled literal pool in thumb-1. + * config/arm/thumb1.md (thumb1_movsi_symbol_ref): Remove. + (*thumb1_movsi_insn): Add support for SYMBOL_REF with -mpure-code. + +2020-11-01 Iain Sandoe + + * config/host-darwin.c: Align pch_address_space to 16384. + +2020-11-01 Pat Bernardi + + * config/i386/i386.c (ix86_expand_prologue): Set the stack usage to 0 + for naked functions. + +2020-11-01 Iain Buclaw + + PR ipa/97660 + * cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Don't call + clone_info::get when cgraph_node::get returns NULL. + +2020-10-31 Jan Hubicka + + * Makefile.in: (OBJS): Add symtab-clones.o + (GTFILES): Add symtab-clones.h + * cgraph.c: Include symtab-clones.h. + (cgraph_edge::resolve_speculation): Fix formating + (cgraph_edge::redirect_call_stmt_to_callee): Update. + (cgraph_update_edges_for_call_stmt): Update + (release_function_body): Fix formating. + (cgraph_node::remove): Fix formating. + (cgraph_node::dump): Fix formating. + (cgraph_node::get_availability): Fix formating. + (cgraph_node::call_for_symbol_thunks_and_aliases): Fix formating. + (set_const_flag_1): Fix formating. + (set_pure_flag_1): Fix formating. + (cgraph_node::can_remove_if_no_direct_calls_p): Fix formating. + (collect_callers_of_node_1): Fix formating. + (clone_of_p): Update. + (cgraph_node::verify_node): Update. + (cgraph_c_finalize): Call clone_info::release (). + * cgraph.h (struct cgraph_clone_info): Move to symtab-clones.h. + (cgraph_node): Remove clone_info. + (symbol_table): Add m_clones. + * cgraphclones.c: Include symtab-clone.h. + (duplicate_thunk_for_node): Update. + (cgraph_node::create_clone): Update. + (cgraph_node::create_virtual_clone): Update. + (cgraph_node::find_replacement): Update. + (cgraph_node::materialize_clone): Update. + * gengtype.c (open_base_files): Include symtab-clones.h. + * ipa-cp.c: Include symtab-clones.h. + (initialize_node_lattices): Update. + (want_remove_some_param_p): Update. + (create_specialized_node): Update. + * ipa-fnsummary.c: Include symtab-clones.h. + (ipa_fn_summary_t::duplicate): Update. + * ipa-modref.c: Include symtab-clones.h. + (update_signature): Update. + * ipa-param-manipulation.c: Include symtab-clones.h. + (ipa_param_body_adjustments::common_initialization): Update. + * ipa-prop.c: Include symtab-clones.h. + (adjust_agg_replacement_values): Update. + (ipcp_get_parm_bits): Update. + (ipcp_update_bits): Update. + (ipcp_update_vr): Update. + * ipa-sra.c: Include symtab-clones.h. + (process_isra_node_results): Update. + (disable_unavailable_parameters): Update. + * lto-cgraph.c: Include symtab-clone.h. + (output_cgraph_opt_summary_p): Update. + (output_node_opt_summary): Update. + (input_node_opt_summary): Update. + * symtab-clones.cc: New file. + * symtab-clones.h: New file. + * tree-inline.c (expand_call_inline): Update. + (update_clone_info): Update. + (tree_function_versioning): Update. + +2020-10-31 Jan Hubicka + + * ipa-modref.c (modref_summary::dump): Dump writes_errno. + (parm_map_for_arg): Break out from ... + (merge_call_side_effects): ... here. + (get_access_for_fnspec): New function. + (process_fnspec): New function. + (analyze_call): Use it. + (analyze_stmt): Update. + (analyze_function): Initialize writes_errno. + (modref_summaries::duplicate): Duplicate writes_errno. + * ipa-modref.h (struct modref_summary): Add writes_errno. + * tree-ssa-alias.c (call_may_clobber_ref_p_1): Check errno. + +2020-10-30 Michael Meissner + + * config/rs6000/rs6000.c (glibc_supports_ieee_128bit): New helper + function. + (rs6000_option_override_internal): Call it. + +2020-10-30 Qing Zhao + H.J.Lu + + * common.opt: Add new option -fzero-call-used-regs + * config/i386/i386.c (zero_call_used_regno_p): New function. + (zero_call_used_regno_mode): Likewise. + (zero_all_vector_registers): Likewise. + (zero_all_st_registers): Likewise. + (zero_all_mm_registers): Likewise. + (ix86_zero_call_used_regs): Likewise. + (TARGET_ZERO_CALL_USED_REGS): Define. + * df-scan.c (df_epilogue_uses_p): New function. + (df_get_exit_block_use_set): Replace EPILOGUE_USES with + df_epilogue_uses_p. + * df.h (df_epilogue_uses_p): Declare. + * doc/extend.texi: Document the new zero_call_used_regs attribute. + * doc/invoke.texi: Document the new -fzero-call-used-regs option. + * doc/tm.texi: Regenerate. + * doc/tm.texi.in (TARGET_ZERO_CALL_USED_REGS): New hook. + * emit-rtl.h (struct rtl_data): New field must_be_zero_on_return. + * flag-types.h (namespace zero_regs_flags): New namespace. + * function.c (gen_call_used_regs_seq): New function. + (class pass_zero_call_used_regs): New class. + (pass_zero_call_used_regs::execute): New function. + (make_pass_zero_call_used_regs): New function. + * optabs.c (expand_asm_reg_clobber_mem_blockage): New function. + * optabs.h (expand_asm_reg_clobber_mem_blockage): Declare. + * opts.c (zero_call_used_regs_opts): New structure array + initialization. + (parse_zero_call_used_regs_options): New function. + (common_handle_option): Handle -fzero-call-used-regs. + * opts.h (zero_call_used_regs_opts): New structure array. + * passes.def: Add new pass pass_zero_call_used_regs. + * recog.c (valid_insn_p): New function. + * recog.h (valid_insn_p): Declare. + * resource.c (init_resource_info): Replace EPILOGUE_USES with + df_epilogue_uses_p. + * target.def (zero_call_used_regs): New hook. + * targhooks.c (default_zero_call_used_regs): New function. + * targhooks.h (default_zero_call_used_regs): Declare. + * tree-pass.h (make_pass_zero_call_used_regs): Declare. + +2020-10-30 Vladimir N. Makarov + + * lra.c (get_scratch_reg): New function. + (remove_scratches_1): Rename remove_insn_scratches. Use + ira_remove_insn_scratches and get_scratch_reg. + (remove_scratches): Do not + initialize scratches, scratch_bitmap, and scratch_operand_bitmap. + (lra): Call ira_restore_scratches instead of restore_scratches. + (struct sloc, sloc_t, scratches, scratch_bitmap) + (scratch_operand_bitmap, lra_former_scratch_p) + (lra_former_scratch_operand_p, lra_register_new_scratch_op) + (restore_scratches): Move them to ... + * ira.c: ... here. + (former_scratch_p, former_scratch_operand_p): Rename to + ira_former_scratch_p and ira_former_scratch_operand_p. + (contains_X_constraint_p): New function. + (register_new_scratch_op): Rename to ira_register_new_scratch_op. + Change it to work for IRA and LRA. + (restore_scratches): Rename to ira_restore_scratches. + (get_scratch_reg, ira_remove_insn_scratches): New functions. + (ira): Call ira_remove_scratches if we use LRA. + * ira.h (ira_former_scratch_p, ira_former_scratch_operand_p): New + prototypes. + (ira_register_new_scratch_op, ira_restore_scratches): New prototypes. + (ira_remove_insn_scratches): New prototype. + * lra-int.h (lra_former_scratch_p, lra_former_scratch_operand_p): + Remove prototypes. + (lra_register_new_scratch_op): Ditto. + * lra-constraints.c: Rename lra_former_scratch_p and + lra_former_scratch_p to ira_former_scratch_p and to + ira_former_scratch_p. + * lra-remat.c: Ditto. + * lra-spills.c: Rename lra_former_scratch_p to ira_former_scratch_p. + +2020-10-30 Martin Sebor + + PR middle-end/97556 + * builtins.c (access_ref::add_offset): Cap offset lower bound + to at most the the upper bound. + +2020-10-30 Jan Hubicka + + PR pch/97593 + * cgraph.c (cgraph_node::create_thunk): Register thunk as early during + parsing. + * cgraphunit.c (analyze_functions): Call + thunk_info::process_early_thunks. + * symtab-thunks.cc (struct unprocessed_thunk): New struct. + (thunks): New static variable. + (thunk_info::register_early): New member function. + (thunk_info::process_early_thunks): New member function. + * symtab-thunks.h (thunk_info::register_early): Declare. + (thunk_info::process_early_thunks): Declare. + +2020-10-30 Richard Biener + + PR tree-optimization/97623 + * tree-ssa-pre.c (insert): First do hoist insertion in + a backward walk. + +2020-10-30 Richard Biener + + PR tree-optimization/97626 + * tree-vect-slp.c (vect_slp_analyze_node_operations): + Exchange the lvisited hash-set for a vector, roll back + recursive adds to visited when analysis failed. + (vect_slp_analyze_operations): Likewise. + +2020-10-30 Zhiheng Xie + Nannan Zheng + + * config/aarch64/aarch64-simd-builtins.def: Add proper FLAG + for conversion intrinsics. + +2020-10-30 Richard Biener + + PR tree-optimization/97633 + * tree-vect-slp.c (): Update backedges in single-node cycles. + Optimize processing of externals. + +2020-10-30 Alex Coplan + + PR target/96998 + * combine.c (make_extraction): Also handle shifts written as + (mult x 2^n), avoid creating an extract rtx for these. + * config/aarch64/aarch64.c (aarch64_is_extend_from_extract): Delete. + (aarch64_classify_index): Remove extract-based address handling. + (aarch64_strip_extend): Likewise. + (aarch64_rtx_arith_op_extract_p): Likewise, remove now-unused parameter. + Update callers... + (aarch64_rtx_costs): ... here. + +2020-10-30 Olivier Hainque + + * config/rs6000/vxworks.h (TARGET_OS_CPP_BUILTINS): Also + builtin_define __ppc and __ppc__ for VxWorks 7. + +2020-10-30 Olivier Hainque + Douglas Rupp + Pat Bernardi + + * config.gcc: Adjust the ix86/x86_64-wrs-vxworks filters + to apply to VxWorks 7 as well. + * config/i386/t-vxworks (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): + Remove the fPIC multilib and add one for the large code model + on x86_64. + * config/i386/vxworks.h: Separate sections for TARGET_VXWORKS7, + other variants and common bits. + (TARGET_OS_CPP_BUILTINS): Augment to support a range of CPU + families. Leverage VX_CPU_PREFIX. + (CC1_SPEC): Add definition. + (STACK_CHECK_PROTECT): Use conditional expression instead of + heavier to read conditioned macro definitions. + +2020-10-30 Jakub Jelinek + + * gimplify.c (gimplify_scan_omp_clauses): Force + OMP_CLAUSE_ALLOCATE_ALLOCATOR into a temporary if it is non-NULL and + non-constant. + (gimplify_omp_for): Only put allocate on inner taskloop if lastprivate + for the same variable is going to be put there, and in that case + if the OMP_CLAUSE_ALLOCATE_ALLOCATOR is non-NULL non-constant, make + the allocator firstprivate on task. + +2020-10-30 Michael Meissner + + * config/rs6000/rs6000.c (rs6000_option_override_internal): Allow + long double type to be changed for C/C++ if glibc 2.32 or newer. + (rs6000_invalid_binary_op): Update error messages about mixing IBM + long double and IEEE 128-bit. + 2020-10-29 Richard Biener * tree-ssa-pre.c (compute_avail): Free operands consistently. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index d724ea40a76..f676795e9a5 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20201030 +20201102 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 4a1feae2b54..e03861bbca1 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,20 @@ +2020-11-02 Nathan Sidwell + + * c-opts.c (c_common_post_options): Move var decl to its + initialization point. + +2020-11-01 Iain Sandoe + + * c-lex.c (c_lex_with_flags): When combining '@' with a + keyword for Objective-C, combine the location ranges too. + +2020-10-30 Qing Zhao + H.J.Lu + + * c-attribs.c (c_common_attribute_table): Add new attribute + zero_call_used_regs. + (handle_zero_call_used_regs_attribute): New function. + 2020-10-28 Marek Polacek PR c++/97573 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2ece8967676..875b6c8e310 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,44 @@ +2020-11-02 Nathan Sidwell + + * decl.c (start_decl_1): Refactor declarations. Fixup some + whitespace. + (lookup_and_check_tag): Fixup some whitespace. + +2020-11-02 Nathan Sidwell + + * decl.c (duplicate_decls): Refactor some template & builtin + handling. + +2020-11-02 Nathan Sidwell + + * cp-tree.h (struct cxx_int_tree_map): Delete. + (struct cxx_int_tree_map_hasher): Delete. + * cp-gimplify.c (cxx_int_tree_map_hasher::equal): Delete. + (cxx_int_tree_map_hasher::hash): Delete. + +2020-11-02 Patrick Palka + + * class.c (finish_struct_1): Don't call clear_satisfaction_cache. + * constexpr.c (clear_cv_and_fold_caches): Likewise. Remove bool + parameter. + * constraint.cc (clear_satisfaction_cache): Remove definition. + * cp-tree.h (clear_satisfaction_cache): Remove declaration. + (clear_cv_and_fold_caches): Remove bool parameter. + * typeck2.c (store_init_value): Remove argument to + clear_cv_and_fold_caches. + +2020-11-01 Iain Sandoe + + * parser.c (cp_parser_objc_at_property_declaration): Use any + exisiting syntax error to suppress complaints about a missing + closing parenthesis in parsing property attributes. + +2020-10-30 Jakub Jelinek + + * semantics.c (finish_omp_clauses) : Handle + non-static members in methods. + * pt.c (tsubst_omp_clauses): Handle OMP_CLAUSE_ALLOCATE. + 2020-10-29 Marek Polacek DR 625 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 6f03af9fd58..de146c95ea5 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,44 @@ +2020-11-02 Thomas Schwinge + + PR fortran/92793 + * trans.c (gfc_set_backend_locus): Use 'gfc_get_location'. + (gfc_restore_backend_locus): Adjust. + +2020-11-02 Tobias Burnus + + PR fortran/97655 + * openmp.c (gfc_match_omp_atomic): Fix mem-order handling; + reject specifying update + capture together. + +2020-10-30 Tobias Burnus + + * dump-parse-tree.c (show_omp_clauses): Handle atomic clauses. + (show_omp_node): Call it for atomic. + * gfortran.h (enum gfc_omp_atomic_op): Add GFC_OMP_ATOMIC_UNSET, + remove GFC_OMP_ATOMIC_SEQ_CST and GFC_OMP_ATOMIC_ACQ_REL. + (enum gfc_omp_memorder): Replace OMP_MEMORDER_LAST by + OMP_MEMORDER_UNSET, add OMP_MEMORDER_SEQ_CST/OMP_MEMORDER_RELAXED. + (gfc_omp_clauses): Add capture and atomic_op. + (gfc_code): remove omp_atomic. + * openmp.c (enum omp_mask1): Add atomic, capture, memorder clauses. + (gfc_match_omp_clauses): Match them. + (OMP_ATOMIC_CLAUSES): Add. + (gfc_match_omp_flush): Update for 'last' to 'unset' change. + (gfc_match_omp_oacc_atomic): Removed and placed content .. + (gfc_match_omp_atomic): ... here. Update for OpenMP 5 clauses. + (gfc_match_oacc_atomic): Match directly here. + (resolve_omp_atomic, gfc_resolve_omp_directive): Update. + * parse.c (parse_omp_oacc_atomic): Update for struct gfc_code changes. + * resolve.c (gfc_resolve_blocks): Update assert. + * st.c (gfc_free_statement): Also call for EXEC_O{ACC,MP}_ATOMIC. + * trans-openmp.c (gfc_trans_omp_atomic): Update. + (gfc_trans_omp_flush): Update for 'last' to 'unset' change. + +2020-10-30 Jan Hubicka + + * trans-types.c: Include alias.h + (gfc_get_array_type_bounds): Set typeless storage. + 2020-10-27 Harald Anlauf * resolve.c (gfc_impure_variable): A dummy argument with the VALUE diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index f69d2d7d5ad..4ddee9c6de4 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,15 @@ +2020-11-01 Iain Sandoe + + * objc-act.c (synth_module_prologue): Get the SEL identifier. + * objc-act.h (enum objc_tree_index): Add OCTI_SEL_NAME. + (objc_selector_name): New. + (SEL_TYPEDEF_NAME): New. + * objc-gnu-runtime-abi-01.c + (gnu_runtime_01_initialize): Initialize SEL typedef. + * objc-next-runtime-abi-01.c + (next_runtime_01_initialize): Likewise. + * objc-next-runtime-abi-02.c + 2020-10-11 Iain Sandoe * objc-next-runtime-abi-02.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 99c38899239..bb727a1be52 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,215 @@ +2020-11-02 Patrick Palka + + * g++.dg/cpp2a/concepts-complete1.C: Delete test that became + ill-formed after P2104. + +2020-11-02 Carl Love + + * gcc.target/powerpc/bcd-2.c: Add include altivec.h. + * gcc.target/powerpc/bcd-3.c: Add include altivec.h. + * gcc.target/powerpc/bcd-4.c: New test. + +2020-11-02 Nathan Sidwell + + * g++.dg/concepts/pack-1.C: New. + * g++.dg/lookup/using53.C: Add an enum. + * g++.dg/template/error25.C: Relax 'export' error check. + +2020-11-02 Sudakshina Das + + PR target/97638 + * gcc.target/aarch64/pr97638.c: New test.a + +2020-11-02 Richard Biener + + * gcc.dg/vect/slp-49.c: New testcase. + +2020-11-02 Christophe Lyon + + * gcc.target/arm/pure-code/no-literal-pool-m23.c: New. + +2020-11-02 Christophe Lyon + + * gcc.target/arm/pure-code/no-literal-pool-m0.c: New. + +2020-11-02 Thomas Schwinge + + PR fortran/92793 + * gfortran.dg/goacc/pr92793-1.f90: Adjust. + +2020-11-02 Tobias Burnus + + PR fortran/97655 + * gfortran.dg/gomp/atomic.f90: Update tree-dump counts; move + invalid OMP 5.0 code to ... + * gfortran.dg/gomp/atomic-2.f90: ... here; update dg-error. + * gfortran.dg/gomp/requires-9.f90: Update tree dump scan. + +2020-11-02 Richard Biener + + PR tree-optimization/97558 + * gcc.dg/vect/pr97558-2.c: New testcase. + +2020-11-02 Aldy Hernandez + + PR tree-optimization/97505 + * gcc.dg/pr97505.c: New test. + +2020-11-02 Richard Biener + + PR tree-optimization/97558 + * gcc.dg/vect/pr97558.c: New testcase. + +2020-11-02 Richard Biener + + PR tree-optimization/97650 + * gcc.dg/vect/bb-slp-pr97650.c: New testcase. + +2020-11-02 Kito Cheng + + * gcc.target/riscv/arch-7.c: New. + * gcc.target/riscv/attribute-10.c: Update test arch string. + +2020-11-02 Christophe Lyon + + PR target/96770 + * gcc.target/arm/pure-code/pr96770.c: New test. + +2020-11-02 Christophe Lyon + + PR target/96967 + * gcc.target/arm/pure-code/pr96767.c: New test. + +2020-11-01 Iain Sandoe + + * obj-c++.dg/SEL-typedef.mm: New test. + * objc.dg/SEL-typedef.m: New test. + +2020-11-01 Iain Sandoe + + * obj-c++.dg/property/at-property-1.mm: Adjust test after + fixing spurious error output. + +2020-11-01 Iain Sandoe + + * gcc.target/i386/amxbf16-asmintel-1.c: Require masm_intel. + * gcc.target/i386/amxint8-asmintel-1.c: Likewise. + * gcc.target/i386/amxtile-asmintel-1.c: Likewise. + +2020-10-30 Qing Zhao + H.J.Lu + + * c-c++-common/zero-scratch-regs-1.c: New test. + * c-c++-common/zero-scratch-regs-10.c: New test. + * c-c++-common/zero-scratch-regs-11.c: New test. + * c-c++-common/zero-scratch-regs-2.c: New test. + * c-c++-common/zero-scratch-regs-3.c: New test. + * c-c++-common/zero-scratch-regs-4.c: New test. + * c-c++-common/zero-scratch-regs-5.c: New test. + * c-c++-common/zero-scratch-regs-6.c: New test. + * c-c++-common/zero-scratch-regs-7.c: New test. + * c-c++-common/zero-scratch-regs-8.c: New test. + * c-c++-common/zero-scratch-regs-9.c: New test. + * c-c++-common/zero-scratch-regs-attr-usages.c: New test. + * gcc.target/i386/zero-scratch-regs-1.c: New test. + * gcc.target/i386/zero-scratch-regs-10.c: New test. + * gcc.target/i386/zero-scratch-regs-11.c: New test. + * gcc.target/i386/zero-scratch-regs-12.c: New test. + * gcc.target/i386/zero-scratch-regs-13.c: New test. + * gcc.target/i386/zero-scratch-regs-14.c: New test. + * gcc.target/i386/zero-scratch-regs-15.c: New test. + * gcc.target/i386/zero-scratch-regs-16.c: New test. + * gcc.target/i386/zero-scratch-regs-17.c: New test. + * gcc.target/i386/zero-scratch-regs-18.c: New test. + * gcc.target/i386/zero-scratch-regs-19.c: New test. + * gcc.target/i386/zero-scratch-regs-2.c: New test. + * gcc.target/i386/zero-scratch-regs-20.c: New test. + * gcc.target/i386/zero-scratch-regs-21.c: New test. + * gcc.target/i386/zero-scratch-regs-22.c: New test. + * gcc.target/i386/zero-scratch-regs-23.c: New test. + * gcc.target/i386/zero-scratch-regs-24.c: New test. + * gcc.target/i386/zero-scratch-regs-25.c: New test. + * gcc.target/i386/zero-scratch-regs-26.c: New test. + * gcc.target/i386/zero-scratch-regs-27.c: New test. + * gcc.target/i386/zero-scratch-regs-28.c: New test. + * gcc.target/i386/zero-scratch-regs-29.c: New test. + * gcc.target/i386/zero-scratch-regs-30.c: New test. + * gcc.target/i386/zero-scratch-regs-31.c: New test. + * gcc.target/i386/zero-scratch-regs-3.c: New test. + * gcc.target/i386/zero-scratch-regs-4.c: New test. + * gcc.target/i386/zero-scratch-regs-5.c: New test. + * gcc.target/i386/zero-scratch-regs-6.c: New test. + * gcc.target/i386/zero-scratch-regs-7.c: New test. + * gcc.target/i386/zero-scratch-regs-8.c: New test. + * gcc.target/i386/zero-scratch-regs-9.c: New test. + +2020-10-30 Martin Sebor + + PR middle-end/97556 + * gcc.dg/Warray-bounds-70.c: New test. + +2020-10-30 Tobias Burnus + + * g++.dg/guality/guality.exp: Skip $rootme-based check if unset. + * gcc.dg/guality/guality.exp: Likewise. + * gfortran.dg/guality/guality.exp: Likewise. + * lib/asan-dg.exp: Don't use $asan_saved_library_path if not set. + * lib/tsan-dg.exp: Don't use $tsan_saved_library_path if not set. + * lib/ubsan-dg.exp: Don't use $ubsan_saved_library_path if not set. + +2020-10-30 Tobias Burnus + + * gfortran.dg/gomp/atomic-2.f90: New test. + * gfortran.dg/gomp/atomic.f90: New test. + +2020-10-30 Richard Biener + + PR tree-optimization/97623 + * gcc.dg/tree-ssa/ssa-hoist-7.c: New testcase. + +2020-10-30 Richard Biener + + PR tree-optimization/97626 + * gcc.dg/vect/bb-slp-pr97626.c: New testcase. + +2020-10-30 Thomas Schwinge + + PR fortran/92793 + * c-c++-common/goacc/clause-locations.c: Rewrite into... + * c-c++-common/goacc/pr92793-1.c: ... this. + * gfortran.dg/goacc/clause-locations.f90: Rewrite into... + * gfortran.dg/goacc/pr92793-1.f90: ... this. + +2020-10-30 Richard Biener + + PR tree-optimization/97633 + * g++.dg/vect/slp-pr97636.cc: New testcase. + * gcc.dg/vect/bb-slp-pr97633.c: Likewise. + +2020-10-30 Alex Coplan + + PR target/96998 + * gcc.c-torture/compile/pr96998.c: New test. + +2020-10-30 Jakub Jelinek + + * c-c++-common/gomp/allocate-3.c: New test. + +2020-10-30 Jakub Jelinek + + * c-c++-common/gomp/allocate-1.c (qux): Add another test. + * g++.dg/gomp/allocate-1.C: New test. + +2020-10-30 Richard Biener + + * gcc.dg/vect/bb-slp-pr65935.c: Adjust. + +2020-10-30 Michael Meissner + + * gcc.target/powerpc/float128-mix-2.c: New test. + * gcc.target/powerpc/float128-mix-3.c: New test. + * gcc.target/powerpc/float128-mix.c: Update failure messages. + 2020-10-29 Marek Polacek DR 625 diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 61bfe813167..ed2c5418469 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,19 @@ +2020-11-02 Nathan Sidwell + + * internal.h (_cpp_notify_macro_use): Add location parm. + (_cpp_maybe_notify_macro_use): Likewise. + * directives.c (_cpp_do_file_change): Check we've not changed file + when optimizing a rewind. + (do_ifdef): Pass location to _cpp_maybe_notify_macro_use. + (do_ifndef): Likewise. Delete obsolete comment about powerpc. + * expr.c (parse_defined): Pass location to + _cpp_maybe_notify_macro_use. + * macro.c (enter_macro_context): Likewise. + (warn_of_redefinition): Break out helper function. Call it. + (compare_macros): New function broken out of warn_of_redefinition. + (_cpp_new_macro): Zero all fields. + (_cpp_notify_macro_use): Add location parameter. + 2020-10-20 Nathan Sidwell * lex.c (_cpp_lex_direct): Do not complete EOF processing when diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index e1450136133..b44a1fee6ba 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,10 @@ +2020-10-30 Olivier Hainque + Douglas Rupp + Pat Bernardi + + * config.host: Adjust the ix86/x86_64-wrs-vxworks filters + to apply to VxWorks 7 as well. + 2020-10-29 Olivier Hainque * config/gthr-vxworks-tls.c: Fix preprocessor logic diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 104a149ec64..a4af74b4caa 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,11 @@ +2020-10-30 Harald Anlauf + + * intrinsics/random.c (SZ_IN_INT_4): Define size of state in int32_t. + (SZ_IN_INT_8): Define size of state in int64_t. + (SZ): Remove. + (random_seed_i4): Use size SZ_IN_INT_4 instead of SZ. + (random_seed_i8): Use size SZ_IN_INT_8 instead of SZ. + 2020-10-18 Harald Anlauf * m4/matmul_internal.m4: Move check for rank-1 times rank-2 before diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 49ab9beeeaa..2c0d207283e 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,22 @@ +2020-11-02 Thomas Schwinge + + PR target/85486 + * testsuite/libgomp.oacc-c-c++-common/pr85486-2.c: Simplify and enhance. + * testsuite/libgomp.oacc-c-c++-common/pr85486-3.c: Likewise. + * testsuite/libgomp.oacc-c-c++-common/pr85486.c: Likewise. + +2020-11-02 Thomas Schwinge + + PR testsuite/80219 + PR testsuite/85303 + * testsuite/lib/libgomp.exp (libgomp_init): Set + 'gcc_warning_prefix', 'gcc_error_prefix'. + +2020-10-30 Jakub Jelinek + + * target.c (gomp_map_vars_internal): Use FIELD_TGT_EMPTY macro + even in field_tgt_clear initializer. + 2020-10-28 Jakub Jelinek * testsuite/libgomp.c/target-42.c: New test. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index bcfa429a7f9..403e1318ae2 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,133 @@ +2020-11-02 Thomas Rodgers + + * doc/doxygen/user.cfg.in (INPUT): Add new header. + * include/Makefile.am (std_headers): Add new header. + * include/Makefile.in: Regenerate. + * include/precompiled/stdc++.h: Include new header. + * include/std/syncstream: New header. + * include/std/version: Add __cpp_lib_syncbuf. + * testsuite/27_io/basic_syncbuf/1.cc: New test. + * testsuite/27_io/basic_syncbuf/2.cc: Likewise. + * testsuite/27_io/basic_syncbuf/basic_ops/1.cc: + Likewise. + * testsuite/27_io/basic_syncbuf/requirements/types.cc: + Likewise. + * testsuite/27_io/basic_syncbuf/sync_ops/1.cc: + Likewise. + * testsuite/27_io/basic_syncstream/1.cc: Likewise. + * testsuite/27_io/basic_syncstream/2.cc: Likewise. + * testsuite/27_io/basic_syncstream/basic_ops/1.cc: + Likewise. + * testsuite/27_io/basic_syncstream/requirements/types.cc: + Likewise. + +2020-11-01 Jonathan Wakely + + * include/std/type_traits (is_integral) + (make_unsigned, make_signed): Define based + on #ifdef __WCHAR_TYPE__ instead of _GLIBCXX_USE_WCHAR_T. + * include/bits/cpp_type_traits.h (__is_integer) + (__is_char): Likewise. + +2020-10-31 François Dumont + + * src/c++17/floating_from_chars.cc (_GLIBCXX_USE_CX11_ABI): Add define. + (buffering_string): New. + [!_GLIBCXX_USE_CXX11_ABI](reserve_string): New. + (from_chars): Adapt. + * src/c++20/sstream-inst.cc: Limit instantiations to + _GLIBCXX_USE_CXX11_ABI. + +2020-10-31 Jonathan Wakely + + * include/bits/random.h (independent_bit_engine): Fix typo + in comment. + (shuffle_order_engine): Fix incorrect description in comment. + * include/bits/random.tcc (__representable_as_double + (__p1_representable_as_double): New helper functions. + (shuffle_order_engine::operator()): Use double for calculation + if (max() - min() + 1) is representable as double. + * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error + line number. + +2020-10-31 Jonathan Wakely + + PR libstdc++/96958 + * include/bits/hashtable_policy.h (_Prime_rehash_policy) + (_Power2_rehash_policy): Use ceil and floor instead of ceill and + floorl. + * src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy): Likewise. + Use double instead of long double. + +2020-10-31 Patrick Palka + + PR libstdc++/97600 + * include/std/ranges (basic_istream_view::begin): Initialize + _Iterator from 'this' instead of '*this'. + (basic_istream_view::_Iterator::_Iterator): Adjust constructor + accordingly. + (filter_view::_Iterator::_Iterator): Take a filter_view* + argument instead of a filter_view& argument. + (filter_view::_Sentinel::_Sentinel): Likewise. + (filter_view::begin): Initialize _Iterator from 'this' instead + of '*this'. + (filter_view::end): Likewise. + (transform_view::_Iterator::_Iterator): Take a _Parent* instead + of a _Parent&. + (filter_view::_Iterator::operator+): Adjust accordingly. + (filter_view::_Iterator::operator-): Likewise. + (filter_view::begin): Initialize _Iterator from 'this' instead + of '*this'. + (filter_view::end): Likewise. + (join_view::_Iterator): Take a _Parent* instead of a _Parent&. + (join_view::_Sentinel): Likewise. + (join_view::begin): Initialize _Iterator from 'this' instead of + '*this'. + (join_view::end): Initialize _Sentinel from 'this' instead of + '*this'. + (split_view::_OuterIter): Take a _Parent& instead of a _Parent*. + (split_view::begin): Initialize _OuterIter from 'this' instead + of '*this'. + (split_view::end): Likewise. + * testsuite/std/ranges/97600.cc: New test. + +2020-10-30 Jonathan Wakely + + * include/std/ranges (enable_borrowed_view>) + (enable_borrowed_view>) + (enable_borrowed_view>) + (enable_borrowed_view>) + (enable_borrowed_view>) + (enable_borrowed_view>): Add partial + specializations as per P2017R1. + * testsuite/std/ranges/adaptors/conditionally_borrowed.cc: + New test. + +2020-10-30 Jonathan Wakely + + PR libstdc++/96958 + * include/bits/hashtable_policy.h (_Prime_rehash_policy) + (_Power2_rehash_policy): Use double instead of long double. + +2020-10-30 Jonathan Wakely + + * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: + Avoid -Wcatch-value warnings. + +2020-10-30 Patrick Palka + + * include/std/ranges (__detail::__box): For the partial + specialization used by types that are already semiregular, + make the default constructor value-initialize the underlying + object instead of default-initializing it. Make its in place + constructor explicit. + * testsuite/std/ranges/adaptors/detail/semiregular_box.cc: + Augment test. + +2020-10-30 David Edelsohn + + * testsuite/20_util/unique_ptr/creation/for_overwrite.cc: XFAIL on AIX. + 2020-10-29 Jonathan Wakely * config/abi/pre/gnu.ver (GLIBCXX_3.4.21): Tighten patterns