https://gcc.gnu.org/g:278bf5726c69db1371185676f89f1fd6e0f756f5
commit r15-7435-g278bf5726c69db1371185676f89f1fd6e0f756f5 Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Sat Feb 8 00:18:32 2025 +0000 Daily bump. Diff: --- gcc/ChangeLog | 136 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 28 ++++++++++ gcc/c/ChangeLog | 8 +++ gcc/cp/ChangeLog | 65 +++++++++++++++++++++++ gcc/fortran/ChangeLog | 13 +++++ gcc/jit/ChangeLog | 6 +++ gcc/testsuite/ChangeLog | 116 +++++++++++++++++++++++++++++++++++++++++ libgcc/ChangeLog | 6 +++ libgomp/ChangeLog | 11 ++++ libstdc++-v3/ChangeLog | 30 +++++++++++ 11 files changed, 420 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 095de11a11ee..3465553b1df8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,139 @@ +2025-02-07 Andrew Pinski <quic_apin...@quicinc.com> + + PR target/114522 + * config/aarch64/aarch64-builtins.cc (aarch64_fold_aes_op): New function. + (aarch64_general_gimple_fold_builtin): Call aarch64_fold_aes_op for crypto_aese + and crypto_aesd. + +2025-02-07 Andi Kleen <a...@gcc.gnu.org> + + PR preprocessor/118168 + * input.cc (file_cache::m_line_recent, + m_line_recent_first, m_line_recent_last): Add. + (file_cache_slot::evict): Clear new fields. + (file_cache_slot::create): Clear new fields. + (file_cache_slot::file_cache_slot): Initialize new fields. + (file_cache_slot::~file_cache_slot): Release m_line_recent. + (file_cache_slot::get_next_line): Maintain ring buffer of lines + in m_line_recent. + (file_cache_slot::read_line_num): Use m_line_recent to look up + recent lines quickly. + +2025-02-07 Richard Earnshaw <rearn...@arm.com> + + PR target/118089 + * config/arm/arm.cc (arm_emit_multi_reg_pop): Restructure. + Don't emit LDR on thumb2 when POP can be used for smaller code. + Don't add a CFA adjust note when SP is popped off the stack. + +2025-02-07 Richard Earnshaw <rearn...@arm.com> + + PR target/118089 + * config/arm/arm.cc (arm_emit_multi_reg_pop): Add a CFA adjust + note to single-register POP instructions. + +2025-02-07 Jeff Law <j...@ventanamicro.com> + + PR rtl-optimization/116244 + * ira-build.cc (create_insn_allocnos): Do not restrict the check for + subreg uses to allocno creation time. Do it for all uses. + +2025-02-07 Richard Biener <rguent...@suse.de> + + PR jit/118780 + * system.h: Check INCLUDE_DLFCN_H for including dlfcn.h instead + of ENABLE_PLUGIN. + * plugin.cc: Define INCLUDE_DLFCN_H. + +2025-02-07 Pan Li <pan2...@intel.com> + + PR target/118103 + * config/riscv/riscv.cc (riscv_conditional_register_usage): Add + the VXRM as the global_regs. + +2025-02-07 Andrew Pinski <quic_apin...@quicinc.com> + + PR target/118771 + * config/aarch64/aarch64.cc (aarch64_split_move): Assert that npieces is + greater than 0. + +2025-02-07 Richard Biener <rguent...@suse.de> + + PR tree-optimization/115538 + * tree-vectorizer.h (vect_get_slp_scalar_def): Declare. + * tree-vect-slp.cc (vect_get_slp_scalar_def): New helper. + * tree-vect-generic.cc (expand_vector_conversion): Adjust. + * tree-vect-stmts.cc (vectorizable_conversion): For SLP + correctly look at ranges of the scalar defs of the SLP operand. + (supportable_indirect_convert_operation): Likewise. + +2025-02-07 Tobias Burnus <tbur...@baylibre.com> + + * config/gcn/gcn.cc (gcn_hsa_declare_function_name): Update + 'amdhsa.version' output to match used code version. + * config/gcn/gen-gcn-device-macros.awk: Add a comment to + crosslink. + +2025-02-07 Xi Ruoyao <xry...@xry111.site> + + * config/loongarch/loongarch.md + (*sel<code><GPR:mode>_using_<GPR2:mode>): Rename to ... + (*sel<code><GPR:mode>_using_<X:mode>): ... here. + (GPR2): Remove as nothing uses it now. + +2025-02-07 Alexandre Oliva <ol...@adacore.com> + + PR tree-optimization/118514 + PR tree-optimization/118706 + * gimple-fold.cc (decode_field_reference): Refuse to consider + merging out-of-bounds BIT_FIELD_REFs. + (make_bit_field_load): Drop too-strict assert. + * tree-eh.cc (bit_field_ref_in_bounds_p): Rename to... + (access_in_bounds_of_type_p): ... this. Change interface, + export. + (tree_could_trap_p): Adjust. + * tree-eh.h (access_in_bounds_of_type_p): Declare. + +2025-02-07 Tobias Burnus <tbur...@baylibre.com> + + * config/gcn/gcn-devices.def (GCN_DEVICE): Add gfx9-generic, + gfx902, gfx904, gfx909, gfx1031, gfx1032, gfx1033, gfx1034, + gfx1035, gfx1101, gfx1102, gfx1150, gfx1151, gfx1152, and gfx1153. + Add a currently unused column linking, a specific ISA to a generic + one (if it exists). + * config/gcn/gcn-tables.opt: Regenerate + * doc/invoke.texi (AMD GCN): Add the the new gfc... and the older + gfx{10-3,11}-generic to -march= as 'experimental'. + +2025-02-07 Tobias Burnus <tbur...@baylibre.com> + + * config/gcn/gcn-devices.def (GCN_DEVICE): Change sramecc for + gfx906 to 'any'. + * config/gcn/gcn.cc (GCN_DEVICE): Add tailing ... to #define. + +2025-02-07 H.J. Lu <hjl.to...@gmail.com> + + PR rtl-optimization/111673 + PR rtl-optimization/115932 + PR rtl-optimization/116028 + PR rtl-optimization/117081 + PR rtl-optimization/117082 + PR rtl-optimization/118497 + * ira-color.cc (assign_hard_reg): Call the target hook for the + callee-saved register cost scale in epilogue and prologue. + * target.def (ira_callee_saved_register_cost_scale): New target + hook. + * targhooks.cc (default_ira_callee_saved_register_cost_scale): + New. + * targhooks.h (default_ira_callee_saved_register_cost_scale): + Likewise. + * config/i386/i386.cc (ix86_ira_callee_saved_register_cost_scale): + New. + (TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Likewise. + * doc/tm.texi: Regenerated. + * doc/tm.texi.in (TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): + New. + 2025-02-06 Craig Blackmore <craig.blackm...@embecosm.com> * config/riscv/riscv.md: Move UNSPEC_SSP_SET and UNSPEC_SSP_TEST diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 293639e31377..f9d9d8c45b95 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250207 +20250208 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index c93531af9f05..5f5a51b550a2 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,31 @@ +2025-02-07 Jakub Jelinek <ja...@redhat.com> + Jason Merrill <ja...@redhat.com> + + PR c++/86769 + * c-common.def (FOR_STMT): Add 2 operands and document them. + (WHILE_STMT): Likewise. + * c-common.h (WHILE_COND_PREP, WHILE_COND_CLEANUP): Define. + (FOR_COND_PREP, FOR_COND_CLEANUP): Define. + * c-gimplify.cc (genericize_c_loop): Add COND_PREP and COND_CLEANUP + arguments, handle them if they are non-NULL. + (genericize_for_stmt, genericize_while_stmt, genericize_do_stmt): + Adjust callers. + +2025-02-07 Thomas Schwinge <tschwi...@baylibre.com> + + * c-gimplify.cc (c_genericize): Pass 'local_dump_flags' to + 'print_c_tree'. + * c-pretty-print.cc (c_pretty_printer::statement): Pass + 'dump_flags' to 'dump_generic_node'. + (c_pretty_printer::c_pretty_printer): Initialize 'dump_flags'. + (print_c_tree): Add 'dump_flags_t' formal parameter. + (debug_c_tree): Adjust. + * c-pretty-print.h (c_pretty_printer): Add 'dump_flags_t + dump_flags'. + (c_pretty_printer::c_pretty_printer): Add 'dump_flags_t' formal + parameter. + (print_c_tree): Adjust. + 2025-01-23 Jakub Jelinek <ja...@redhat.com> * c-common.cc (make_tree_vector_from_ctor): Only use make_tree_vector diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 6bb1745254ad..7d194458b2be 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,11 @@ +2025-02-07 Jakub Jelinek <ja...@redhat.com> + Jason Merrill <ja...@redhat.com> + + PR c++/86769 + * c-parser.cc (c_parser_while_statement): Add 2 further NULL_TREE + operands to build_stmt. + (c_parser_for_statement): Likewise. + 2025-02-04 Richard Biener <rguent...@suse.de> PR c/118742 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 0dbdf66e320d..ef64c4dcda7c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,68 @@ +2025-02-07 Jakub Jelinek <ja...@redhat.com> + + PR c++/115586 + * parser.cc (cp_parser_range_for): For name independent decls in + structured bindings, only push the name/binding once per + structured binding. + +2025-02-07 Jakub Jelinek <ja...@redhat.com> + Jason Merrill <ja...@redhat.com> + + PR c++/86769 + * semantics.cc (set_one_cleanup_loc): New function. + (set_cleanup_locs): Use it. + (simplify_loop_decl_cond): Remove. + (adjust_loop_decl_cond): New function. + (begin_while_stmt): Add 2 further NULL_TREE operands to build_stmt. + (finish_while_stmt_cond): Call adjust_loop_decl_cond instead of + simplify_loop_decl_cond. + (finish_while_stmt): Call do_poplevel also on WHILE_COND_PREP if + non-NULL and also use pop_stmt_list rather than do_poplevel for + WHILE_BODY in that case. Call set_one_cleanup_loc. + (begin_for_stmt): Add 2 further NULL_TREE operands to build_stmt. + (finish_for_cond): Call adjust_loop_decl_cond instead of + simplify_loop_decl_cond. + (finish_for_stmt): Call do_poplevel also on FOR_COND_PREP if non-NULL + and also use pop_stmt_list rather than do_poplevel for FOR_BODY in + that case. Call set_one_cleanup_loc. + * constexpr.cc (cxx_eval_loop_expr): Handle + {WHILE,FOR}_COND_{PREP,CLEANUP}. + (check_for_return_continue): Handle {WHILE,FOR}_COND_PREP. + (potential_constant_expression_1): RECUR on + {WHILE,FOR}_COND_{PREP,CLEANUP}. + +2025-02-07 Marek Polacek <pola...@redhat.com> + + PR c++/117106 + PR c++/118190 + * pt.cc (maybe_instantiate_noexcept): Give an error if the noexcept + hasn't been parsed yet. + +2025-02-07 Simon Martin <si...@nasilyan.com> + + PR c++/118282 + * call.cc (add_builtin_candidate): Also check for null_ptr_cst_p + operands. + +2025-02-07 Jakub Jelinek <ja...@redhat.com> + + PR c++/118763 + * init.cc (build_new_1): Don't set CLEANUP_EH_ONLY. + +2025-02-07 Jakub Jelinek <ja...@redhat.com> + + PR c++/118773 + * decl.cc (grokdeclarator): Use cplus_decl_attributes rather than + decl_attributes for std_attributes on pointer and array types. + +2025-02-07 Jakub Jelinek <ja...@redhat.com> + + PR c++/118661 + * constexpr.cc (potential_constant_expression_1): Don't diagnose + lvalue-to-rvalue conversion of volatile lvalue if it has NULLPTR_TYPE. + * decl2.cc (decl_maybe_constant_var_p): Return true for constexpr + decls with NULLPTR_TYPE even if they are volatile. + 2025-02-05 Simon Martin <si...@nasilyan.com> PR c++/118319 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index cc15c1653ab9..ab734d66dc2f 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,16 @@ +2025-02-07 Harald Anlauf <anl...@gmx.de> + + PR fortran/59252 + * trans-expr.cc (gfc_trans_subcomponent_assign): Initialize + allocatable non-deferred character with NULL properly. + +2025-02-07 Tomáš Trnka <tr...@scm.com> + + PR fortran/116829 + * trans-decl.cc (init_intent_out_dt): Always call + gfc_init_default_dt() for BT_DERIVED to apply s->value if the + symbol isn't allocatable. Also simplify the logic a bit. + 2025-02-06 Paul Thomas <pa...@gcc.gnu.org> PR fortran/118750 diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 97ce9b73d959..063697dae08a 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,9 @@ +2025-02-07 Richard Biener <rguent...@suse.de> + + PR jit/118780 + * jit-playback.cc: Define INCLUDE_DLFCN_H. + * jit-result.cc: Likewise. + 2025-01-24 David Malcolm <dmalc...@redhat.com> PR jit/117886 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6c5febac1a1d..1384a7616389 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,119 @@ +2025-02-07 Harald Anlauf <anl...@gmx.de> + + PR fortran/59252 + * gfortran.dg/allocatable_char_1.f90: New test. + +2025-02-07 Richard Earnshaw <rearn...@arm.com> + + PR target/118089 + * gcc.target/arm/thumb2-pop-loreg.c: New test. + +2025-02-07 Jeff Law <j...@ventanamicro.com> + + PR rtl-optimization/116244 + * g++.target/m68k/m68k.exp: New test driver. + * g++.target/m68k/pr116244.C: New test. + +2025-02-07 Jakub Jelinek <ja...@redhat.com> + + PR c++/115586 + * g++.dg/cpp26/name-independent-decl9.C: New test. + * g++.dg/cpp26/name-independent-decl10.C: New test. + +2025-02-07 Jakub Jelinek <ja...@redhat.com> + Jason Merrill <ja...@redhat.com> + + PR c++/86769 + * g++.dg/diagnostic/redeclaration-7.C: New test. + * g++.dg/expr/for3.C: New test. + * g++.dg/expr/for4.C: New test. + * g++.dg/expr/for5.C: New test. + * g++.dg/expr/for6.C: New test. + * g++.dg/expr/for7.C: New test. + * g++.dg/expr/for8.C: New test. + * g++.dg/ext/stmtexpr27.C: New test. + * g++.dg/cpp2a/constexpr-86769.C: New test. + * g++.dg/cpp26/name-independent-decl7.C: New test. + * g++.dg/cpp26/name-independent-decl8.C: New test. + +2025-02-07 Pan Li <pan2...@intel.com> + + PR target/118103 + * gcc.target/riscv/rvv/base/pr118103-2.c: New test. + * gcc.target/riscv/rvv/base/pr118103-run-2.c: New test. + +2025-02-07 Alexandre Oliva <ol...@adacore.com> + + PR tree-optimization/108357 + * gcc.dg/tree-ssa/pr108357.c: Tolerate later optimization. + +2025-02-07 Thomas Schwinge <tschwi...@baylibre.com> + + * c-c++-common/goacc/pr92793-1.c: Remove + '-fdump-tree-original-lineno' XFAILs. + +2025-02-07 Marek Polacek <pola...@redhat.com> + + PR c++/117106 + PR c++/118190 + * g++.dg/cpp0x/noexcept89.C: New test. + * g++.dg/cpp0x/noexcept90.C: New test. + +2025-02-07 Simon Martin <si...@nasilyan.com> + + PR c++/118282 + * g++.dg/conversion/op8.C: New test. + +2025-02-07 Jakub Jelinek <ja...@redhat.com> + + PR c++/118763 + * g++.dg/asan/pr118763.C: New test. + +2025-02-07 Jakub Jelinek <ja...@redhat.com> + + PR c++/118773 + * g++.dg/cpp0x/gen-attrs-87.C: New test. + * g++.dg/gomp/attrs-3.C: Adjust expected diagnostics. + +2025-02-07 Jakub Jelinek <ja...@redhat.com> + + PR c++/118661 + * g++.dg/cpp0x/constexpr-volatile4.C: New test. + * g++.dg/cpp0x/constexpr-union9.C: New test. + +2025-02-07 Tomáš Trnka <tr...@scm.com> + + PR fortran/116829 + * gfortran.dg/derived_init_7.f90: New test. + +2025-02-07 Alexandre Oliva <ol...@adacore.com> + + PR tree-optimization/118514 + PR tree-optimization/118706 + * gcc.dg/field-merge-25.c: New. + +2025-02-07 Alexandre Oliva <ol...@adacore.com> + + * gcc.target/sparc/vis3move-3.c: Select ultrasparc. Skip with + -mfix-ut699. + +2025-02-07 Alexandre Oliva <ol...@adacore.com> + + * gcc.target/sparc/tls-ld-int16.c: Skip when tls is emulated. + * gcc.target/sparc/tls-ld-int32.c: Likewise. + * gcc.target/sparc/tls-ld-int8.c: Likewise. + * gcc.target/sparc/tls-ld-uint16.c: Likewise. + * gcc.target/sparc/tls-ld-uint32.c: Likewise. + * gcc.target/sparc/tls-ld-uint8.c: Likewise. + +2025-02-07 Alexandre Oliva <ol...@adacore.com> + + * gcc.target/sparc/sparc-ret-1.c: Skip on -mfix-ut699. + +2025-02-07 Alexandre Oliva <ol...@adacore.com> + + * gcc.target/sparc/niagara7-align.c: Use -mtune. + 2025-02-06 Jeff Law <j...@ventanamicro.com> * gcc.target/riscv/rvv/autovec/madd-split2-1.c: Update expected diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index b61a78b47f35..1157da81a07b 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2025-02-07 Peter Bergner <berg...@linux.ibm.com> + + PR target/117674 + * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Add cast to + avoid comparison between pointer and integer warning. + 2025-01-30 Georg-Johann Lay <a...@gjlay.de> * config/avr/t-avr (LIB1ASMFUNCS): Add _strlen_memx. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 97b622d2ce35..ce1e8162be45 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,14 @@ +2025-02-07 Tobias Burnus <tbur...@baylibre.com> + + * plugin/plugin-gcn.c (ELFABIVERSION_AMDGPU_HSA_V6, + EF_AMDGPU_GENERIC_VERSION_V, EF_AMDGPU_GENERIC_VERSION_OFFSET, + GET_GENERIC_VERSION): New #define. + (elf_gcn_isa_is_generic): New. + (isa_matches_agent): Accept all generic code objects on the first + go; extend the diagnostic and handle runtime-failed case. + (create_and_finalize_hsa_program): Call it also after loading + the code failed, pass the status. + 2025-01-30 Sandra Loosemore <sloosem...@baylibre.com> * libgomp.texi (OpenMP 5.0): Mark metadirective and declare variant diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f89a4fc285d6..1ca928232114 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,33 @@ +2025-02-07 Giuseppe D'Angelo <giuseppe.dang...@kdab.com> + + PR libstdc++/118160 + PR libstdc++/100249 + * include/bits/ranges_algo.h (__is_permutation_fn): Avoid a + dangling reference by storing the result of the iterator + dereference and the result of the projection in two distinct + variables, in order to lifetime-extend each one. + Forward the projected value to the predicate. + * testsuite/25_algorithms/is_permutation/constrained.cc: Add a + test with a range returning prvalues. Test it in a constexpr + context, in order to rely on the compiler to catch UB. + +2025-02-07 Jonathan Wakely <jwak...@redhat.com> + + * include/bits/ostream.h (basic_ostream::_Disable_exceptions): + RAII helper type. + (basic_ostream::sentry::~sentry): Use _Disable_exceptions. Add + try-catch block around call to pubsync. + * testsuite/27_io/basic_ostream/exceptions/char/lwg4188.cc: New + test. + * testsuite/27_io/basic_ostream/exceptions/wchar_t/lwg4188.cc: + New test. + +2025-02-07 Jonathan Wakely <jwak...@redhat.com> + + PR libstdc++/111050 + * include/bits/hashtable_policy.h (_Hash_node_value_base): Add + comment about always_inline attributes. + 2025-02-05 Rainer Orth <r...@cebitec.uni-bielefeld.de> Jonathan Wakely <jwak...@redhat.com>