From 2ee5b58be62ba83814fd3b09a604ae0858bbd058 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Sat, 13 Jul 2024 00:17:42 +0000 Subject: Daily bump. --- gcc/ChangeLog | 188 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 9 +++ gcc/cp/ChangeLog | 41 +++++++++++ gcc/fortran/ChangeLog | 7 ++ gcc/m2/ChangeLog | 8 +++ gcc/rust/ChangeLog | 5 ++ gcc/testsuite/ChangeLog | 102 ++++++++++++++++++++++++++ 8 files changed, 361 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index de0c53f..1d95220 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,191 @@ +2024-07-12 Gerald Pfeifer + + * doc/gm2.texi (Community): Update lists.nongnu.org and + lists.gnu.org links. + +2024-07-12 Jeff Law + + PR rtl-optimization/115876 + * ext-dce.cc (carry_backpropagate): Make mask and mmask unsigned. + +2024-07-12 Marek Polacek + + * doc/invoke.texi: Remove @opindex and @itemx for -fconcepts-ts. + +2024-07-12 Daniel Bertalan + + * value-pointer-equiv.cc: Change NULL to nullptr. + +2024-07-12 Richard Sandiford + + PR rtl-optimization/115785 + * rtl-ssa/insns.h (insn_info::prev_insn_or_last_debug_insn) + (insn_info::next_nondebug_or_debug_insn): Remove typedefs. + (insn_info::m_prev_insn_or_last_debug_insn): Rename to... + (insn_info::m_prev_sametype_or_last_debug_insn): ...this. + * rtl-ssa/internals.inl (insn_info::insn_info): Update after + above renaming. + (insn_info::copy_prev_from): Likewise. + (insn_info::set_prev_sametype_insn): Likewise. + (insn_info::set_last_debug_insn): Likewise. + (insn_info::clear_insn_links): Likewise. + (insn_info::has_insn_links): Likewise. + * rtl-ssa/member-fns.inl (insn_info::prev_nondebug_insn): Likewise. + (insn_info::prev_any_insn): Fix moves from non-debug to debug insns. + +2024-07-12 Jeff Law + + * config/riscv/riscv-string.cc (emit_memcmp_scalar_load_and_compare): + Set RESULT directly rather than using a temporary. + (emit_memcmp_scalar_result_calculation): Similarly. + (riscv_expand_block_compare_scalar): Use CONST0_RTX rather than + generating new RTL. + * config/riscv/riscv.md (cmpmemsi): Pass an X mode temporary to the + expansion routines. If necessary extract low part of the word to store + in final result location. + +2024-07-12 Stefan Schulze Frielinghaus + + * config/s390/2964.md: Remove extended mnemonics for vgm. + * config/s390/3906.md: Remove extended mnemonics for vgm. + * config/s390/3931.md: Remove extended mnemonics for vgm. + * config/s390/8561.md: Remove extended mnemonics for vgm. + * config/s390/constraints.md (jKK): Remove constraint. + (jzz): Add constraint. + * config/s390/s390-protos.h (s390_contiguous_bitmask_vector_p): + Add prototype. + (s390_constant_via_vgm_p): Add prototype. + (s390_constant_via_vrepi_p): Add prototype. + * config/s390/s390.cc (s390_contiguous_bitmask_vector_p): New + function. + (s390_constant_via_vgm_vrepi_helper): New function. + (s390_constant_via_vgm_p): New function. + (s390_constant_via_vgbm_p): For the sake of symmetry rename + s390_bytemask_vector_p into s390_constant_via_vgbm_p. + (s390_bytemask_vector_p): Deal with non-integer and partial + vectors. + (s390_constant_via_vrepi_p): New function. + (s390_legitimate_constant_p): Allow partial vectors. + (legitimate_reload_constant_p): Fix indentation. + (legitimate_reload_vector_constant_p): Restrict to constraints + j00, jm1, jxx, jyy, jzz only, i.e., allow partial vectors. + (s390_expand_vec_init): Also make use of vrepi if possible. + (print_operand): Add q,p,r for vgm,vrepi,vgbm, respectively. + Remove e,s,t for constant vectors. + * config/s390/s390.md (movti): Add variants utilizing + vgbm,vgm,vrepi. + * config/s390/vector.md (mov): Adapt variants + for vgbm,vgm,vrepi for the new scheme. + (mov): Adapt variants for vgbm,vgm for the new + scheme and add vrepi variant for modes V_8,V_16,V_32,V_64. + +2024-07-12 Stefan Schulze Frielinghaus + + * config/s390/vector.md (mov): Fix output template for + movv1qi. + +2024-07-12 Roger Sayle + Hongtao Liu + + * config/i386/i386-expand.cc (ix86_broadcast_from_constant): + Use CONST_VECTOR_P instead of comparison against GET_CODE. + (ix86_gen_bcst_mem): Likewise. + (ix86_ternlog_leaf_p): Likewise. + (ix86_ternlog_operand_p): ix86_ternlog_leaf_p is always true for + vector_all_ones_operand. + (ix86_expand_ternlog_bin_op): Use CONST_VECTOR_P instead of + equality comparison against GET_CODE. Replace call to force_reg + with gen_reg_rtx and emit_move_insn (for VEC_DUPLICATE broadcast). + Check for !register_operand instead of memory_operand. + Support CONST_VECTORs by calling force_const_mem. + (ix86_expand_ternlog): Fix indentation whitespace. + Allow ix86_ternlog_leaf_p as ix86_expand_ternlog_andnot's second + operand. Use CONST_VECTOR_P instead of equality against GET_CODE. + Use gen_reg_rtx and emit_move_insn for ~a, ~b and ~c cases. + +2024-07-12 Stefan Schulze Frielinghaus + + * config/s390/s390.md (*icjump_64): Allow raw CC comparisons, + i.e., any constant integer between 0 and 15 for CC comparisons. + +2024-07-12 Richard Sandiford + + * config/aarch64/aarch64.cc (aarch64_process_one_target_attr) + (aarch64_process_target_attr): Avoid alloca. + +2024-07-12 Alexandre Oliva + + PR target/115459 + * config/alpha/alpha.cc (alpha_expand_block_move): Adjust + MEMs to match inferred alignment. + +2024-07-12 YunQiang Su + + PR target/115840 + * config/riscv/riscv.cc(riscv_preferred_else_value): Mark + tmp_var as NO_WARNING. + +2024-07-12 xuli + + PR target/115862 + * config/riscv/riscv.cc (riscv_slow_unaligned_access): Disable vector misalign. + +2024-07-12 Kito Cheng + + * common/config/riscv/riscv-common.cc (riscv_implied_info): Add xsfvcp. + (riscv_ext_version_table): Add xsfvcp, xsfcease. + (riscv_ext_flag_table): Ditto. + * config/riscv/riscv.opt (riscv_sifive_subext): New. + (XSFVCP): New. + (XSFCEASE): New. + +2024-07-12 Kewen Lin + + PR target/115659 + * config/rs6000/rs6000-protos.h (rs6000_emit_vector_cond_expr): Remove. + * config/rs6000/rs6000.cc (rs6000_emit_vector_cond_expr): Add static + qualifier as it is only called by rs6000_emit_swsqrt now. + * config/rs6000/vector.md (vcond): Remove. + (vcond): Remove. + (vcondv4sfv4si): Likewise. + (vcondv4siv4sf): Likewise. + (vcondv2dfv2di): Likewise. + (vcondv2div2df): Likewise. + (vcondu): Likewise. + (vconduv4sfv4si): Likewise. + (vconduv2dfv2di): Likewise. + +2024-07-12 Richard Biener + + PR tree-optimization/115867 + * tree-vect-stmts.cc (vectorizable_simd_clone_call): Properly + guess the number of mask elements for integer mode masks. + +2024-07-12 Jeff Law + + * config/m68k/m68k.md (extendsidi2): Add missing early clobbers. + +2024-07-12 Lulu Cheng + + * config/loongarch/loongarch.cc + (loongarch_split_move): Delete. + (loongarch_hard_regno_mode_ok_uncached): Likewise. + * config/loongarch/loongarch.md + (move_doubleword_fpr): Likewise. + (load_low): Likewise. + (load_high): Likewise. + (store_word): Likewise. + (movgr2frh): Likewise. + (movfrh2gr): Likewise. + +2024-07-12 Lulu Cheng + + PR target/115752 + * config/loongarch/loongarch.cc + (loongarch_hard_regno_mode_ok_uncached): Replace + UNITS_PER_FPVALUE with UNITS_PER_HWFPVALUE. + * config/loongarch/loongarch.h (UNITS_PER_FPVALUE): Delete. + 2024-07-11 Jeff Law * config/riscv/riscv-string.cc diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 93ea1dc..c6f47ba 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240712 +20240713 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 93f5a49..f1fd3f6 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,12 @@ +2024-07-12 Daniel Bertalan + + * diagnostic-manager.cc (saved_diagnostic::saved_diagnostic): + Change NULL to nullptr. + (struct null_assignment_sm_context): Likewise. + * infinite-loop.cc: Likewise. + * infinite-recursion.cc: Likewise. + * varargs.cc (va_list_state_machine::on_leak): Likewise. + 2024-07-04 David Malcolm * diagnostic-manager.cc diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 439ff95..fb40373 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,44 @@ +2024-07-12 Nathaniel Shead + + * decl.cc (xref_tag): Move assertion into condition. + * name-lookup.cc (check_module_override): Check for conflicting + types and using-decls. + +2024-07-12 Nathaniel Shead + + PR c++/114683 + * cp-tree.h (class ovl_iterator): Move definitions of purview_p + and exporting_p to name-lookup.cc. + * module.cc (depset::hash::add_binding_entity): Strip + using-decls. Remove workarounds. Handle CONST_DECLs with + different purview/exported from their enum. + (enum ct_bind_flags): Remove unnecessary cbf_wrapped flag. + (module_state::write_cluster): Likewise. + (module_state::read_cluster): Build USING_DECL for non-function + usings. + (binding_cmp): Handle CONST_DECLs with different purview and/or + exported from their enum. + (set_instantiating_module): Support CONST_DECLs. + * name-lookup.cc (get_fixed_binding_slot): Strip USING_DECLs. + (name_lookup::process_binding): Strip USING_DECLs. + (name_lookup::process_module_binding): Remove workaround. + (update_binding): Strip USING_DECLs, remove incorrect check for + non-extern variables. + (ovl_iterator::purview_p): Support USING_DECLs. + (ovl_iterator::exporting_p): Support USING_DECLs. + (walk_module_binding): Handle stat hack type. + (do_nonmember_using_decl): Strip USING_DECLs when comparing; + build USING_DECLs for non-function usings in different scope + rather than binding directly. + (get_namespace_binding): Strip USING_DECLs. + (lookup_name): Strip USING_DECLs. + (lookup_elaborated_type): Strip USING_DECLs. + * decl.cc (poplevel): Still support -Wunused for using-decls. + (lookup_and_check_tag): Remove unnecessary strip_using_decl. + * parser.cc (cp_parser_template_name): Likewise. + (cp_parser_nonclass_name): Likewise. + (cp_parser_class_name): Likewise. + 2024-07-11 Nathaniel Shead PR c++/99241 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 42613d9..acff7f3 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,10 @@ +2024-07-12 Mikael Morin + + * trans-intrinsic.cc (gfc_conv_intrinsic_minmaxloc): Create a new + scalar scalarization chain element if BACK is present. Add it to + the loop. Set the scalarization chain before evaluating the + argument. + 2024-07-11 Andre Vehreschild * trans-array.cc (gfc_conv_array_parameter): Init variable to diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index b55ea15..b48e119 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,11 @@ +2024-07-12 FX Coudert + + * gm2-gcc/m2linemap.cc (INCLUDE_STRING): Define before + include of gcc-consolidation.h. + * gm2spec.cc (INCLUDE_STRING): Define before include of + system.h. + (INCLUDE_VECTOR): Ditto. + 2024-07-10 Gaius Mulley PR modula2/115823 diff --git a/gcc/rust/ChangeLog b/gcc/rust/ChangeLog index 654893b..ef602b9 100644 --- a/gcc/rust/ChangeLog +++ b/gcc/rust/ChangeLog @@ -1,3 +1,8 @@ +2024-07-12 Daniel Bertalan + + * metadata/rust-imports.cc (Import::try_package_in_directory): + Change NULL to nullptr. + 2024-06-25 Kewen Lin * rust-gcc.cc (float_type): Use TYPE_PRECISION of diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d985b85..534b65a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,105 @@ +2024-07-12 Richard Sandiford + + PR rtl-optimization/115785 + * g++.dg/torture/pr115785.C: New test. + +2024-07-12 Nathaniel Shead + + PR c++/115798 + * g++.dg/modules/using-26_a.C: New test. + * g++.dg/modules/using-26_b.C: New test. + * g++.dg/modules/using-26_c.C: New test. + +2024-07-12 Nathaniel Shead + + * g++.dg/modules/using-19_a.C: New test. + * g++.dg/modules/using-19_b.C: New test. + +2024-07-12 Nathaniel Shead + + PR c++/114683 + * g++.dg/lookup/using29.C: Update errors. + * g++.dg/lookup/using53.C: Update errors, add XFAILs. + * g++.dg/modules/using-22_b.C: Remove xfails. + * g++.dg/warn/Wunused-var-18.C: Update error, add check. + * g++.dg/lookup/using68.C: New test. + * g++.dg/modules/using-24_a.C: New test. + * g++.dg/modules/using-24_b.C: New test. + * g++.dg/modules/using-25_a.C: New test. + * g++.dg/modules/using-25_b.C: New test. + * g++.dg/modules/using-enum-4_a.C: New test. + * g++.dg/modules/using-enum-4_b.C: New test. + * g++.dg/modules/using-enum-4_c.C: New test. + +2024-07-12 Stefan Schulze Frielinghaus + + * gcc.target/s390/vector/vec-copysign.c: Change to non-extended + mnemonic. + * gcc.target/s390/vector/vec-genmask-1.c: Change to non-extended + mnemonic. + * gcc.target/s390/vector/vec-init-1.c: Change to non-extended + mnemonic. + * gcc.target/s390/vector/vec-vrepi-1.c: Change to non-extended + mnemonic. + * gcc.target/s390/zvector/autovec-double-quiet-uneq.c: Change to + non-extended mnemonic. + * gcc.target/s390/zvector/autovec-float-quiet-uneq.c: Change to + non-extended mnemonic. + * gcc.target/s390/zvector/vec-genmask-1.c: Change to + non-extended mnemonic. + * gcc.target/s390/zvector/vec-splat-1.c: Change to non-extended + mnemonic. + * gcc.target/s390/zvector/vec-splat-2.c: Change to non-extended + mnemonic. + * gcc.target/s390/vector/vgbm-double-1.c: New test. + * gcc.target/s390/vector/vgbm-float-1.c: New test. + * gcc.target/s390/vector/vgbm-int128-1.c: New test. + * gcc.target/s390/vector/vgbm-integer-1.c: New test. + * gcc.target/s390/vector/vgbm-longdouble-1.c: New test. + * gcc.target/s390/vector/vgm-df-1.c: New test. + * gcc.target/s390/vector/vgm-di-1.c: New test. + * gcc.target/s390/vector/vgm-hi-1.c: New test. + * gcc.target/s390/vector/vgm-int128-1.c: New test. + * gcc.target/s390/vector/vgm-longdouble-1.c: New test. + * gcc.target/s390/vector/vgm-qi-1.c: New test. + * gcc.target/s390/vector/vgm-sf-1.c: New test. + * gcc.target/s390/vector/vgm-si-1.c: New test. + * gcc.target/s390/vector/vgm-tf-1.c: New test. + * gcc.target/s390/vector/vgm-ti-1.c: New test. + * gcc.target/s390/vector/vrepi-df-1.c: New test. + * gcc.target/s390/vector/vrepi-di-1.c: New test. + * gcc.target/s390/vector/vrepi-hi-1.c: New test. + * gcc.target/s390/vector/vrepi-int128-1.c: New test. + * gcc.target/s390/vector/vrepi-qi-1.c: New test. + * gcc.target/s390/vector/vrepi-sf-1.c: New test. + * gcc.target/s390/vector/vrepi-si-1.c: New test. + * gcc.target/s390/vector/vrepi-tf-1.c: New test. + * gcc.target/s390/vector/vrepi-ti-1.c: New test. + +2024-07-12 YunQiang Su + + * gcc.dg/vect/pr115840.c: New testcase. + +2024-07-12 Mikael Morin + + * gfortran.dg/maxloc_5.f90: New test. + * gfortran.dg/minloc_5.f90: New test. + +2024-07-12 xuli + + PR target/115862 + * gcc.target/riscv/rvv/base/pr115862.c: New file. + +2024-07-12 Kito Cheng + + * gcc.target/riscv/predef-sf-1.c: New. + * gcc.target/riscv/predef-sf-2.c: New. + +2024-07-12 Lulu Cheng + + PR target/115752 + * gcc.target/loongarch/pr115752.c: New test. + 2024-07-11 Andre Vieira * gcc.target/arm/mve/intrinsics/vsetq_lane_su64.c: New test. -- cgit v1.1