https://gcc.gnu.org/g:112ac3a3ab244322f74fecd5547fcc4883e5e15a
commit r15-7549-g112ac3a3ab244322f74fecd5547fcc4883e5e15a Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Sat Feb 15 00:18:03 2025 +0000 Daily bump. Diff: --- gcc/ChangeLog | 125 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 49 +++++++++++++++++++ gcc/po/ChangeLog | 4 ++ gcc/testsuite/ChangeLog | 95 ++++++++++++++++++++++++++++++++++++ libcpp/po/ChangeLog | 4 ++ libstdc++-v3/ChangeLog | 31 ++++++++++++ 7 files changed, 309 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f8574164cfb7..331bc1c0fdb8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,128 @@ +2025-02-14 Georg-Johann Lay <a...@gjlay.de> + + PR target/118878 + * config/avr/avr.cc (avr_out_plus_1): Don't ICE on result of + paradoxical reg's register allocation. + +2025-02-14 Thomas Schwinge <tschwi...@baylibre.com> + + PR target/94282 + PR target/113331 + * common/config/gcn/gcn-common.cc (gcn_except_unwind_info): 'return UI_TARGET;'. + * config/gcn/gcn.cc (gcn_asm_init_sections): New function. + (TARGET_ASM_INIT_SECTIONS): '#define'. + +2025-02-14 Thomas Schwinge <tschwi...@baylibre.com> + + PR target/86660 + * common/config/nvptx/nvptx-common.cc (nvptx_except_unwind_info): + 'return UI_TARGET;'. + * config/nvptx/nvptx.cc (nvptx_assemble_integer): Handle + 'exception_section'. + (nvptx_output_section_asm_op, nvptx_asm_init_sections): New + functions. + (TARGET_ASM_INIT_SECTIONS): '#define'. + * config/nvptx/nvptx.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): + Don't '#define'. + (ASM_OUTPUT_DWARF_DELTA): '#define'. + +2025-02-14 Thomas Schwinge <tschwi...@baylibre.com> + + * config/nvptx/nvptx.cc (init_frag): New 'bool active' member. + (output_init_frag, nvptx_assemble_value, nvptx_assemble_integer) + (nvptx_output_skip, nvptx_assemble_decl_begin) + (nvptx_assemble_decl_end): Sanity-check its state. + +2025-02-14 Thomas Schwinge <tschwi...@baylibre.com> + + * config/nvptx/nvptx.cc (nvptx_output_skip): Clarify case of + no or incomplete initializer. + +2025-02-14 Richard Biener <rguent...@suse.de> + + PR tree-optimization/118852 + * tree-vect-slp.cc (vect_analyze_slp): For early-break + forced-live IVs make sure we create an appropriate + entry into the SLP graph. + +2025-02-14 Jakub Jelinek <ja...@redhat.com> + + PR debug/118790 + * tree.cc (struct gt_value_expr_mark_data): New type. + (gt_value_expr_mark_2): Don't call ggc_set_mark, instead check + ggc_marked_p. Treat data as gt_value_expr_mark_data * with pset + in it rather than address of the pset itself and push to be marked + VAR_DECLs into to_mark vec. + (gt_value_expr_mark_1): Change argument from hash_set<tree> * + to gt_value_expr_mark_data * and find pset in it. + (gt_value_expr_mark): Pass to traverse_noresize address of + gt_value_expr_mark_data object rather than hash_table<tree> and + for all entries in the to_mark vector after the traversal call + gt_ggc_mx. + +2025-02-14 Lulu Cheng <chengl...@loongson.cn> + + * config/loongarch/genopts/loongarch.opt.in: Add + option '-maddr-reg-reg-cost='. + * config/loongarch/loongarch-def.cc + (loongarch_rtx_cost_data::loongarch_rtx_cost_data): Initialize + addr_reg_reg_cost to 3. + * config/loongarch/loongarch-opts.cc + (loongarch_target_option_override): If '-maddr-reg-reg-cost=' + is not used, set it to the initial value. + * config/loongarch/loongarch-tune.h + (struct loongarch_rtx_cost_data): Add the member + addr_reg_reg_cost and its assignment function to the structure + loongarch_rtx_cost_data. + * config/loongarch/loongarch.cc (loongarch_address_insns): + Use la_addr_reg_reg_cost to set the cost of ADDRESS_REG_REG. + * config/loongarch/loongarch.opt: Regenerate. + * config/loongarch/loongarch.opt.urls: Regenerate. + * doc/invoke.texi: Add description of '-maddr-reg-reg-cost='. + +2025-02-14 Lulu Cheng <chengl...@loongson.cn> + + PR target/118843 + * config/loongarch/loongarch-c.cc + (loongarch_update_cpp_builtins): Fix macro definition issues. + +2025-02-14 Lulu Cheng <chengl...@loongson.cn> + + PR target/118828 + * config/loongarch/loongarch-c.cc (loongarch_pragma_target_parse): + Update the predefined macros. + +2025-02-14 Lulu Cheng <chengl...@loongson.cn> + + * config/loongarch/loongarch-c.cc (builtin_undef): New macro. + (loongarch_cpu_cpp_builtins): Split to loongarch_update_cpp_builtins + and loongarch_define_unconditional_macros. + (loongarch_def_or_undef): New functions. + (loongarch_define_unconditional_macros): Likewise. + (loongarch_update_cpp_builtins): Likewise. + +2025-02-14 Lulu Cheng <chengl...@loongson.cn> + + * config/loongarch/loongarch-target-attr.cc + (loongarch_pragma_target_parse): Move to ... + (loongarch_register_pragmas): Move to ... + * config/loongarch/loongarch-c.cc + (loongarch_pragma_target_parse): ... here. + (loongarch_register_pragmas): ... here. + * config/loongarch/loongarch-protos.h + (loongarch_process_target_attr): Function Declaration. + +2025-02-14 Richard Biener <rguent...@suse.de> + + PR tree-optimization/90579 + * tree-ssa-forwprop.cc (simplify_bitfield_ref): Move to + match.pd. + (pass_forwprop::execute): Adjust. + * match.pd (bit_field_ref (vec_perm ...)): New pattern + modeled after simplify_bitfield_ref. + * tree-vect-loop.cc (vect_expand_fold_left): Fold the + element extract stmt, combining it with the vector def. + 2025-02-13 Robin Dapp <rdapp....@gmail.com> PR target/118832 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index c2b6f8fd1b4f..92ec7cafd89e 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250214 +20250215 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8d0aac90dc88..2de178062f8a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,52 @@ +2025-02-14 Marek Polacek <pola...@redhat.com> + + * pt.cc (tsubst_expr) <COMPONENT_REF>: Assign the result of + force_paren_expr. + +2025-02-14 Jason Merrill <ja...@redhat.com> + + PR c++/118856 + * call.cc (set_up_extended_ref_temp): Retain a TARGET_EXPR for + cleanups if something later in initialization throws. + (extend_temps_r): Don't extend eliding or EH-only TARGET_EXPRs. + * cp-tree.h (get_internal_target_expr): Declare. + * tree.cc (get_internal_target_expr): New. + * decl.cc (cp_finish_decomp, expand_static_init): Use it. + * except.cc (build_throw): Likewise. + * init.cc (build_new_1, build_vec_init, build_delete): Likewise. + (build_vec_delete): Likewise. + * typeck2.cc (maybe_push_temp_cleanup): Likewise. + +2025-02-14 Jason Merrill <ja...@redhat.com> + + * init.cc (perform_member_init): Remove unicode from comment. + +2025-02-14 Marek Polacek <pola...@redhat.com> + + PR c++/116379 + * pt.cc (tsubst_expr) <COMPONENT_REF>: Use force_paren_expr to set + REF_PARENTHESIZED_P. + +2025-02-14 Nathaniel Shead <nathanielosh...@gmail.com> + + * lambda.cc (record_lambda_scope): Clear mangling scope for + otherwise unattached lambdas in class member templates. + +2025-02-14 Nathaniel Shead <nathanielosh...@gmail.com> + + PR c++/107741 + * cp-tree.h (is_static_data_member_initialized_in_class): + Declare new predicate. + * decl2.cc (start_initialized_static_member): Push the + TEMPLATE_DECL when appropriate. + (is_static_data_member_initialized_in_class): New predicate. + (finish_initialized_static_member): Use it. + * lambda.cc (record_lambda_scope): Likewise. + * parser.cc (cp_parser_init_declarator): Start the member decl + early for static members so that lambda scope is set. + (cp_parser_template_declaration_after_parameters): Don't + register in-class initialized static members here. + 2025-02-13 Jason Merrill <ja...@redhat.com> * tree.cc (handle_init_priority_attribute): Use OPT_prio_ctor_dtor. diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog index bd11876eb1e1..9536c2d76b40 100644 --- a/gcc/po/ChangeLog +++ b/gcc/po/ChangeLog @@ -1,3 +1,7 @@ +2025-02-14 Joseph Myers <josmy...@redhat.com> + + * gcc.pot: Regenerate. + 2025-01-20 Joseph Myers <josmy...@redhat.com> * zh_CN.po: Update. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 612a9f38aa9b..8d3ba1abdb17 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,98 @@ +2025-02-14 Marek Polacek <pola...@redhat.com> + + PR c++/83144 + * g++.dg/cpp0x/constexpr-83144.C: New test. + +2025-02-14 Georg-Johann Lay <a...@gjlay.de> + + PR target/118878 + * gcc.target/avr/torture/pr118878.c: New test. + +2025-02-14 Patrick Palka <ppa...@redhat.com> + + PR c++/86933 + * g++.dg/cpp1z/variadic-nontype1.C: Mention PR number. + * g++.dg/cpp1z/variadic-nontype2.C: New test. + +2025-02-14 Marek Polacek <pola...@redhat.com> + + PR c++/82936 + * g++.dg/cpp0x/vt-82936.C: New test. + +2025-02-14 Marek Polacek <pola...@redhat.com> + + PR c++/82794 + * g++.dg/cpp2a/concepts-pr82794.C: New test. + +2025-02-14 Marek Polacek <pola...@redhat.com> + + PR c++/70037 + * g++.dg/cpp2a/concepts-pr70037.C: New test. + +2025-02-14 Marek Polacek <pola...@redhat.com> + + PR c++/66878 + * g++.dg/lookup/using71.C: New test. + +2025-02-14 Marek Polacek <pola...@redhat.com> + + PR c++/66519 + * g++.dg/cpp0x/variadic-parm2.C: New test. + +2025-02-14 Richard Biener <rguent...@suse.de> + + PR tree-optimization/118852 + * gcc.dg/vect/pr118852.c: New testcase. + +2025-02-14 Jason Merrill <ja...@redhat.com> + + PR c++/118856 + * g++.dg/eh/ref-temp3.C: New test. + * g++.dg/eh/ref-temp4.C: New test. + +2025-02-14 Marek Polacek <pola...@redhat.com> + + PR c++/116379 + * g++.dg/cpp1y/decltype-auto9.C: New test. + +2025-02-14 Lulu Cheng <chengl...@loongson.cn> + + * gcc.target/loongarch/const-double-zero-stx.c: Add + '-maddr-reg-reg-cost=1'. + * gcc.target/loongarch/stack-check-alloca-1.c: Likewise. + +2025-02-14 Lulu Cheng <chengl...@loongson.cn> + + PR target/118843 + * gcc.target/loongarch/pr118843.c: New test. + +2025-02-14 Lulu Cheng <chengl...@loongson.cn> + + PR target/118828 + * gcc.target/loongarch/pr118828.c: New test. + * gcc.target/loongarch/pr118828-2.c: New test. + * gcc.target/loongarch/pr118828-3.c: New test. + * gcc.target/loongarch/pr118828-4.c: New test. + +2025-02-14 Richard Biener <rguent...@suse.de> + + PR tree-optimization/90579 + * gcc.target/i386/pr90579.c: New testcase. + +2025-02-14 Nathaniel Shead <nathanielosh...@gmail.com> + + * g++.dg/cpp2a/lambda-uneval22.C: Add check that the primary + specialisation of the lambda is TU-local. + +2025-02-14 Nathaniel Shead <nathanielosh...@gmail.com> + + PR c++/107741 + * g++.dg/abi/lambda-ctx2-19.C: Add tests for template members. + * g++.dg/abi/lambda-ctx2-19vs20.C: Likewise. + * g++.dg/abi/lambda-ctx2-20.C: Likewise. + * g++.dg/abi/lambda-ctx2.h: Likewise. + * g++.dg/cpp0x/static-member-init-1.C: Likewise. + 2025-02-13 Robin Dapp <rdapp....@gmail.com> PR target/118832 diff --git a/libcpp/po/ChangeLog b/libcpp/po/ChangeLog index d92699add0b8..ab3b04b01d10 100644 --- a/libcpp/po/ChangeLog +++ b/libcpp/po/ChangeLog @@ -1,3 +1,7 @@ +2025-02-14 Joseph Myers <josmy...@redhat.com> + + * cpplib.pot: Regenerate. + 2024-12-16 Joseph Myers <josmy...@redhat.com> * sr.po: Update. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4b4a5d82fa05..50b89877e862 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,34 @@ +2025-02-14 Andrew Pinski <quic_apin...@quicinc.com> + + PR libstdc++/118865 + * include/bits/stl_list.h (_M_initialize_dispatch): Add an + unreachable if the iterator was not empty that the list will + now be not empty. + +2025-02-14 Jonathan Wakely <jwak...@redhat.com> + + * include/parallel/algobase.h (__mismatch_switch): Qualify calls + to make_pair to avoid ADL. + +2025-02-14 Jonathan Wakely <jwak...@redhat.com> + + * include/bits/stl_tree.h (_Rb_tree::_M_equal_range): Replace + unqualified call to make_pair with explicit construction of + std::pair. + * testsuite/23_containers/set/operations/equal_range_adl.cc: + New test. + +2025-02-14 Matthew Malcomson <mmalcom...@nvidia.com> + Jonathan Wakely <jwak...@redhat.com> + + * include/bits/atomic_base.h (__atomic_fetch_addable): Define + new concept. + (__atomic_impl::__fetch_add_flt): Use new concept to make use of + __atomic_fetch_add when available. + (__atomic_fetch_subtractable, __fetch_sub_flt): Likewise. + (__atomic_add_fetchable, __add_fetch_flt): Likewise. + (__atomic_sub_fetchable, __sub_fetch_flt): Likewise. + 2025-02-08 Thomas Schwinge <tschwi...@baylibre.com> * testsuite/lib/prune.exp (libstdc++-dg-prune): Turn