From 6d8e9cdbac40441b3dd33231285fda7fa4206d66 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Thu, 20 Feb 2025 00:18:17 +0000 Subject: [PATCH] Daily bump. --- ChangeLog | 7 + gcc/ChangeLog | 375 ++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 10 ++ gcc/testsuite/ChangeLog | 46 +++++ 5 files changed, 439 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 66a200c385c..2eb07cfb83f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2025-02-19 Thomas Schwinge + + * configure.ac (unsupported_languages) [GCN, nvptx]: Add 'ada'. + (noconfigdirs) [GCN, nvptx]: Add 'target-libobjc', + 'target-libffi', 'target-libgo'. + * configure: Regenerate. + 2025-02-05 Jin Ma * MAINTAINERS: Add myself. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b0365c1ba93..fce04406c55 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,378 @@ +2025-02-19 David Malcolm + + PR other/118919 + * input.cc (file_cache_slot::m_file_path): Make non-const. + (file_cache_slot::evict): Free m_file_path. + (file_cache_slot::create): Store a copy of file_path if non-null. + (file_cache_slot::~file_cache_slot): Free m_file_path. + +2025-02-19 Pan Li + + PR middle-end/116351 + * tree-vect-loop.cc (vect_verify_loop_lens): Return false if the + loop_vinfo has relevant mode such as DImode. + +2025-02-19 Xi Ruoyao + + * config/loongarch/lasx.md (UNSPEC_LASX_XVSRARI): Remove. + (UNSPEC_LASX_XVSRLRI): Remove. + (lasx_xvsrari_): Remove. + (lasx_xvsrlri_): Remove. + * config/loongarch/lsx.md (UNSPEC_LSX_VSRARI): Remove. + (UNSPEC_LSX_VSRLRI): Remove. + (lsx_vsrari_): Remove. + (lsx_vsrlri_): Remove. + * config/loongarch/simd.md (simd__imm_round_): New + define_insn. + (_vri_): New define_expand. + +2025-02-19 Xi Ruoyao + + * config/loongarch/simd.md (wvec_half): New define_mode_attr. + (dot_prod): New define_expand. + +2025-02-19 Xi Ruoyao + + * config/loongarch/simd.md (even_odd): New define_int_attr. + (vec_widen_mult__): New define_expand. + +2025-02-19 Xi Ruoyao + + * config/loongarch/simd.md (LVEC): New define_mode_attr. + (simdfmt_as_i): Make it same as simdfmt for integer vector + modes. + (_f): New define_mode_attr. + * config/loongarch/lsx.md (lsx_vpickev_b): Remove. + (lsx_vpickev_h): Remove. + (lsx_vpickev_w): Remove. + (lsx_vpickev_w_f): Remove. + (lsx_vpickod_b): Remove. + (lsx_vpickod_h): Remove. + (lsx_vpickod_w): Remove. + (lsx_vpickev_w_f): Remove. + (lsx_pick_evod_): New define_insn. + (lsx_vpick_<_f>): New + define_expand. + +2025-02-19 Xi Ruoyao + + * config/loongarch/lasx.md (UNSPEC_LASX_XVMADDWEV): Remove. + (UNSPEC_LASX_XVMADDWEV2): Remove. + (UNSPEC_LASX_XVMADDWEV3): Remove. + (UNSPEC_LASX_XVMADDWOD): Remove. + (UNSPEC_LASX_XVMADDWOD2): Remove. + (UNSPEC_LASX_XVMADDWOD3): Remove. + (lasx_xvmaddwev_h_b): Remove. + (lasx_xvmaddwev_w_h): Remove. + (lasx_xvmaddwev_d_w): Remove. + (lasx_xvmaddwev_q_d): Remove. + (lasx_xvmaddwod_h_b): Remove. + (lasx_xvmaddwod_w_h): Remove. + (lasx_xvmaddwod_d_w): Remove. + (lasx_xvmaddwod_q_d): Remove. + (lasx_xvmaddwev_q_du): Remove. + (lasx_xvmaddwod_q_du): Remove. + (lasx_xvmaddwev_h_bu_b): Remove. + (lasx_xvmaddwev_w_hu_h): Remove. + (lasx_xvmaddwev_d_wu_w): Remove. + (lasx_xvmaddwev_q_du_d): Remove. + (lasx_xvmaddwod_h_bu_b): Remove. + (lasx_xvmaddwod_w_hu_h): Remove. + (lasx_xvmaddwod_d_wu_w): Remove. + (lasx_xvmaddwod_q_du_d): Remove. + * config/loongarch/lsx.md (UNSPEC_LSX_VMADDWEV): Remove. + (UNSPEC_LSX_VMADDWEV2): Remove. + (UNSPEC_LSX_VMADDWEV3): Remove. + (UNSPEC_LSX_VMADDWOD): Remove. + (UNSPEC_LSX_VMADDWOD2): Remove. + (UNSPEC_LSX_VMADDWOD3): Remove. + (lsx_vmaddwev_h_b): Remove. + (lsx_vmaddwev_w_h): Remove. + (lsx_vmaddwev_d_w): Remove. + (lsx_vmaddwev_q_d): Remove. + (lsx_vmaddwod_h_b): Remove. + (lsx_vmaddwod_w_h): Remove. + (lsx_vmaddwod_d_w): Remove. + (lsx_vmaddwod_q_d): Remove. + (lsx_vmaddwev_q_du): Remove. + (lsx_vmaddwod_q_du): Remove. + (lsx_vmaddwev_h_bu_b): Remove. + (lsx_vmaddwev_w_hu_h): Remove. + (lsx_vmaddwev_d_wu_w): Remove. + (lsx_vmaddwev_q_du_d): Remove. + (lsx_vmaddwod_h_bu_b): Remove. + (lsx_vmaddwod_w_hu_h): Remove. + (lsx_vmaddwod_d_wu_w): Remove. + (lsx_vmaddwod_q_du_d): Remove. + * config/loongarch/simd.md (simd_maddw_evod__): + New define_insn. + (_vmaddw__): New + define_expand. + (simd_maddw_evod__hetero): New define_insn. + (_vmaddw__u_): + New define_expand. + (_maddw_q_d_punned): New define_expand. + (_maddw_q_du_d_punned): New define_expand. + * config/loongarch/loongarch-builtins.cc + (CODE_FOR_lsx_vmaddwev_q_d): Define as a macro to override it + with the punned expand. + (CODE_FOR_lsx_vmaddwev_q_du): Likewise. + (CODE_FOR_lsx_vmaddwev_q_du_d): Likewise. + (CODE_FOR_lsx_vmaddwod_q_d): Likewise. + (CODE_FOR_lsx_vmaddwod_q_du): Likewise. + (CODE_FOR_lsx_vmaddwod_q_du_d): Likewise. + (CODE_FOR_lasx_xvmaddwev_q_d): Likewise. + (CODE_FOR_lasx_xvmaddwev_q_du): Likewise. + (CODE_FOR_lasx_xvmaddwev_q_du_d): Likewise. + (CODE_FOR_lasx_xvmaddwod_q_d): Likewise. + (CODE_FOR_lasx_xvmaddwod_q_du): Likewise. + (CODE_FOR_lasx_xvmaddwod_q_du_d): Likewise. + +2025-02-19 Xi Ruoyao + + * config/loongarch/lasx.md (UNSPEC_LASX_XVHADDW_Q_D): Remove. + (UNSPEC_LASX_XVHSUBW_Q_D): Remove. + (UNSPEC_LASX_XVHADDW_QU_DU): Remove. + (UNSPEC_LASX_XVHSUBW_QU_DU): Remove. + (lasx_xvhw_h_b): Remove. + (lasx_xvhw_w_h): Remove. + (lasx_xvhw_d_w): Remove. + (lasx_xvhaddw_q_d): Remove. + (lasx_xvhsubw_q_d): Remove. + (lasx_xvhaddw_qu_du): Remove. + (lasx_xvhsubw_qu_du): Remove. + (reduc_plus_scal_v4di): Call gen_lasx_haddw_q_d_punned instead + of gen_lasx_xvhaddw_q_d. + (reduc_plus_scal_v8si): Likewise. + * config/loongarch/lsx.md (UNSPEC_LSX_VHADDW_Q_D): Remove. + (UNSPEC_ASX_VHSUBW_Q_D): Remove. + (UNSPEC_ASX_VHADDW_QU_DU): Remove. + (UNSPEC_ASX_VHSUBW_QU_DU): Remove. + (lsx_vhw_h_b): Remove. + (lsx_vhw_w_h): Remove. + (lsx_vhw_d_w): Remove. + (lsx_vhaddw_q_d): Remove. + (lsx_vhsubw_q_d): Remove. + (lsx_vhaddw_qu_du): Remove. + (lsx_vhsubw_qu_du): Remove. + (reduc_plus_scal_v2di): Change the temporary register mode to + V1TI, and pun the mode calling gen_vec_extractv2didi. + (reduc_plus_scal_v4si): Change the temporary register mode to + V1TI. + * config/loongarch/simd.md (simd_hw__): New + define_insn. + (_vhw__): New + define_expand. + (_hw_q_d_punned): New define_expand. + * config/loongarch/loongarch-builtins.cc + (CODE_FOR_lsx_vhaddw_q_d): Define as a macro to override with + punned expand. + (CODE_FOR_lsx_vhaddw_qu_du): Likewise. + (CODE_FOR_lsx_vhsubw_q_d): Likewise. + (CODE_FOR_lsx_vhsubw_qu_du): Likewise. + (CODE_FOR_lasx_xvhaddw_q_d): Likewise. + (CODE_FOR_lasx_xvhaddw_qu_du): Likewise. + (CODE_FOR_lasx_xvhsubw_q_d): Likewise. + (CODE_FOR_lasx_xvhsubw_qu_du): Likewise. + +2025-02-19 Xi Ruoyao + + * config/loongarch/lasx.md (UNSPEC_LASX_XVADDWEV): Remove. + (UNSPEC_LASX_XVADDWEV2): Remove. + (UNSPEC_LASX_XVADDWEV3): Remove. + (UNSPEC_LASX_XVSUBWEV): Remove. + (UNSPEC_LASX_XVSUBWEV2): Remove. + (UNSPEC_LASX_XVMULWEV): Remove. + (UNSPEC_LASX_XVMULWEV2): Remove. + (UNSPEC_LASX_XVMULWEV3): Remove. + (UNSPEC_LASX_XVADDWOD): Remove. + (UNSPEC_LASX_XVADDWOD2): Remove. + (UNSPEC_LASX_XVADDWOD3): Remove. + (UNSPEC_LASX_XVSUBWOD): Remove. + (UNSPEC_LASX_XVSUBWOD2): Remove. + (UNSPEC_LASX_XVMULWOD): Remove. + (UNSPEC_LASX_XVMULWOD2): Remove. + (UNSPEC_LASX_XVMULWOD3): Remove. + (lasx_xvwev_h_b): Remove. + (lasx_xvwev_w_h): Remove. + (lasx_xvwev_d_w): Remove. + (lasx_xvaddwev_q_d): Remove. + (lasx_xvsubwev_q_d): Remove. + (lasx_xvmulwev_q_d): Remove. + (lasx_xvwod_h_b): Remove. + (lasx_xvwod_w_h): Remove. + (lasx_xvwod_d_w): Remove. + (lasx_xvaddwod_q_d): Remove. + (lasx_xvsubwod_q_d): Remove. + (lasx_xvmulwod_q_d): Remove. + (lasx_xvaddwev_q_du): Remove. + (lasx_xvsubwev_q_du): Remove. + (lasx_xvmulwev_q_du): Remove. + (lasx_xvaddwod_q_du): Remove. + (lasx_xvsubwod_q_du): Remove. + (lasx_xvmulwod_q_du): Remove. + (lasx_xvwev_h_bu_b): Remove. + (lasx_xvwev_w_hu_h): Remove. + (lasx_xvwev_d_wu_w): Remove. + (lasx_xvwod_h_bu_b): Remove. + (lasx_xvwod_w_hu_h): Remove. + (lasx_xvwod_d_wu_w): Remove. + (lasx_xvaddwev_q_du_d): Remove. + (lasx_xvsubwev_q_du_d): Remove. + (lasx_xvmulwev_q_du_d): Remove. + (lasx_xvaddwod_q_du_d): Remove. + (lasx_xvsubwod_q_du_d): Remove. + * config/loongarch/lsx.md (UNSPEC_LSX_XVADDWEV): Remove. + (UNSPEC_LSX_VADDWEV2): Remove. + (UNSPEC_LSX_VADDWEV3): Remove. + (UNSPEC_LSX_VSUBWEV): Remove. + (UNSPEC_LSX_VSUBWEV2): Remove. + (UNSPEC_LSX_VMULWEV): Remove. + (UNSPEC_LSX_VMULWEV2): Remove. + (UNSPEC_LSX_VMULWEV3): Remove. + (UNSPEC_LSX_VADDWOD): Remove. + (UNSPEC_LSX_VADDWOD2): Remove. + (UNSPEC_LSX_VADDWOD3): Remove. + (UNSPEC_LSX_VSUBWOD): Remove. + (UNSPEC_LSX_VSUBWOD2): Remove. + (UNSPEC_LSX_VMULWOD): Remove. + (UNSPEC_LSX_VMULWOD2): Remove. + (UNSPEC_LSX_VMULWOD3): Remove. + (lsx_vwev_h_b): Remove. + (lsx_vwev_w_h): Remove. + (lsx_vwev_d_w): Remove. + (lsx_vaddwev_q_d): Remove. + (lsx_vsubwev_q_d): Remove. + (lsx_vmulwev_q_d): Remove. + (lsx_vwod_h_b): Remove. + (lsx_vwod_w_h): Remove. + (lsx_vwod_d_w): Remove. + (lsx_vaddwod_q_d): Remove. + (lsx_vsubwod_q_d): Remove. + (lsx_vmulwod_q_d): Remove. + (lsx_vaddwev_q_du): Remove. + (lsx_vsubwev_q_du): Remove. + (lsx_vmulwev_q_du): Remove. + (lsx_vaddwod_q_du): Remove. + (lsx_vsubwod_q_du): Remove. + (lsx_vmulwod_q_du): Remove. + (lsx_vwev_h_bu_b): Remove. + (lsx_vwev_w_hu_h): Remove. + (lsx_vwev_d_wu_w): Remove. + (lsx_vwod_h_bu_b): Remove. + (lsx_vwod_w_hu_h): Remove. + (lsx_vwod_d_wu_w): Remove. + (lsx_vaddwev_q_du_d): Remove. + (lsx_vsubwev_q_du_d): Remove. + (lsx_vmulwev_q_du_d): Remove. + (lsx_vaddwod_q_du_d): Remove. + (lsx_vsubwod_q_du_d): Remove. + (lsx_vmulwod_q_du_d): Remove. + * config/loongarch/loongarch-modes.def: Add V4TI and V1DI. + * config/loongarch/loongarch-protos.h + (loongarch_gen_stepped_int_parallel): New function prototype. + * config/loongarch/loongarch.cc (loongarch_print_operand): + Accept 'O' for printing "ev" or "od." + (loongarch_gen_stepped_int_parallel): Implement. + * config/loongarch/predicates.md + (vect_par_cnst_even_or_odd_half): New define_predicate. + * config/loongarch/simd.md (WVEC_HALF): New define_mode_attr. + (simdfmt_w): Likewise. + (zero_one): New define_int_iterator. + (ev_od): New define_int_attr. + (simd_w_evod__): New define_insn. + (_vw__): New + define_expand. + (simd_w_evod__hetero): New define_insn. + (_vw__u_): + New define_expand. + (DIVEC): New define_mode_iterator. + (_w_q_d_punned): New define_expand. + (_w_q_du_d_punned): Likewise. + * config/loongarch/loongarch-builtins.cc + (CODE_FOR_lsx_vaddwev_q_d): Define as a macro to override it + with the punned expand. + (CODE_FOR_lsx_vaddwev_q_du): Likewise. + (CODE_FOR_lsx_vsubwev_q_d): Likewise. + (CODE_FOR_lsx_vsubwev_q_du): Likewise. + (CODE_FOR_lsx_vmulwev_q_d): Likewise. + (CODE_FOR_lsx_vmulwev_q_du): Likewise. + (CODE_FOR_lsx_vaddwod_q_d): Likewise. + (CODE_FOR_lsx_vaddwod_q_du): Likewise. + (CODE_FOR_lsx_vsubwod_q_d): Likewise. + (CODE_FOR_lsx_vsubwod_q_du): Likewise. + (CODE_FOR_lsx_vmulwod_q_d): Likewise. + (CODE_FOR_lsx_vmulwod_q_du): Likewise. + (CODE_FOR_lsx_vaddwev_q_du_d): Likewise. + (CODE_FOR_lsx_vmulwev_q_du_d): Likewise. + (CODE_FOR_lsx_vaddwod_q_du_d): Likewise. + (CODE_FOR_lsx_vmulwod_q_du_d): Likewise. + (CODE_FOR_lasx_xvaddwev_q_d): Likewise. + (CODE_FOR_lasx_xvaddwev_q_du): Likewise. + (CODE_FOR_lasx_xvsubwev_q_d): Likewise. + (CODE_FOR_lasx_xvsubwev_q_du): Likewise. + (CODE_FOR_lasx_xvmulwev_q_d): Likewise. + (CODE_FOR_lasx_xvmulwev_q_du): Likewise. + (CODE_FOR_lasx_xvaddwod_q_d): Likewise. + (CODE_FOR_lasx_xvaddwod_q_du): Likewise. + (CODE_FOR_lasx_xvsubwod_q_d): Likewise. + (CODE_FOR_lasx_xvsubwod_q_du): Likewise. + (CODE_FOR_lasx_xvmulwod_q_d): Likewise. + (CODE_FOR_lasx_xvmulwod_q_du): Likewise. + (CODE_FOR_lasx_xvaddwev_q_du_d): Likewise. + (CODE_FOR_lasx_xvmulwev_q_du_d): Likewise. + (CODE_FOR_lasx_xvaddwod_q_du_d): Likewise. + (CODE_FOR_lasx_xvmulwod_q_du_d): Likewise. + +2025-02-19 Xi Ruoyao + + * config/loongarch/lsx.md (mov): Remove. + (movmisalign): Remove. + (mov_lsx): Remove. + * config/loongarch/lasx.md (mov): Remove. + (movmisalign): Remove. + (mov_lasx): Remove. + * config/loongarch/loongarch-modes.def (V1TI): Add. + (V2TI): Mention in the comment. + * config/loongarch/loongarch.md (mode): Add V1TI and V2TI. + * config/loongarch/simd.md (ALLVEC_TI): New mode iterator. + (mov): Likewise. + (mov_simd): New define_insn_and_split. + +2025-02-19 Xi Ruoyao + + * config/loongarch/loongarch-protos.h + (loongarch_const_vector_vrepli): New function prototype. + * config/loongarch/loongarch.cc (loongarch_const_vector_vrepli): + Implement. + (loongarch_const_insns): Call loongarch_const_vector_vrepli + instead of loongarch_const_vector_same_int_p. + (loongarch_split_vector_move_p): Likewise. + (loongarch_output_move): Use loongarch_const_vector_vrepli to + pun operend[1] into a better mode if it's a const int vector, + and decide the suffix of [x]vrepli with the new mode. + * config/loongarch/constraints.md (YI): Call + loongarch_const_vector_vrepli instead of + loongarch_const_vector_same_int_p. + +2025-02-19 Xi Ruoyao + + PR target/115478 + * config/loongarch/loongarch.md (any_or_plus): New + define_code_iterator. + (bstrins__for_ior_mask): Use any_or_plus instead of ior. + (bytepick_w_): Likewise. + (bytepick_d_): Likewise. + (bytepick_d__rev): Likewise. + +2025-02-19 Jeff Law + + PR middle-end/113525 + * doc/invoke.texi (dump-rtl-sibling): Drop documentation for pass + removed long ago. + (dump-rtl-unshare): Likewise. + 2025-02-18 Andi Kleen * doc/invoke.texi: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 7462e91a3a7..efb19b9646b 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250219 +20250220 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 69955f72892..35aa2c4cbb7 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,13 @@ +2025-02-19 David Malcolm + + PR analyzer/118300 + * kf.cc (class kf_ubsan_bounds): Replace this with... + (class kf_ubsan_noop): ...this. + (register_sanitizer_builtins): Use it to handle IFN_UBSAN_NULL, + IFN_UBSAN_BOUNDS, and IFN_UBSAN_PTR as nop-ops. + (register_known_functions): Drop handling of IFN_UBSAN_BOUNDS + here, as it's now handled by register_sanitizer_builtins above. + 2025-02-18 David Malcolm * diagnostic-manager.cc diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0d836d507c5..99ce85d0c5c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,49 @@ +2025-02-19 Georg-Johann Lay + + * gcc.target/avr/torture/isr-04-regs.c: New test. + * gcc.target/avr/isr-test.h: Don't set GPRs to values + that are 0 mod 0x11. + +2025-02-19 Andrew Pinski + + * gcc.target/aarch64/pr112105.c: Change to be -O2 rather + than -O1. + +2025-02-19 David Malcolm + + PR analyzer/118300 + * gcc.dg/analyzer/ubsan-pr118300.c: New test. + +2025-02-19 Pan Li + + PR middle-end/116351 + * gcc.target/riscv/rvv/base/pr116351-1.c: New test. + * gcc.target/riscv/rvv/base/pr116351-2.c: New test. + * gcc.target/riscv/rvv/base/pr116351.h: New test. + +2025-02-19 Xi Ruoyao + + * gcc.target/loongarch/vect-shift-imm-round.c: New test. + +2025-02-19 Xi Ruoyao + + * gcc.target/loongarch/wide-mul-reduc-2.c (dg-final): Scan + DOT_PROD_EXPR in optimized tree. + +2025-02-19 Xi Ruoyao + + * gcc.target/loongarch/wide-mul-reduc-1.c: New test. + * gcc.target/loongarch/wide-mul-reduc-2.c: New test. + +2025-02-19 Xi Ruoyao + + * gcc.target/loongarch/vrepli.c: New test. + +2025-02-19 Xi Ruoyao + + PR target/115478 + * gcc.target/loongarch/bytepick_shift_128.c: New test. + 2025-02-18 Robin Dapp PR target/115703