]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 13 Jul 2024 00:17:42 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 13 Jul 2024 00:17:42 +0000 (00:17 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/analyzer/ChangeLog
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/m2/ChangeLog
gcc/rust/ChangeLog
gcc/testsuite/ChangeLog
libbacktrace/ChangeLog
libstdc++-v3/ChangeLog

index de0c53f3d2544dc4562619c8f6f7b7f24fc26510..1d952201cd516c878e051f25efd347ca935caf54 100644 (file)
@@ -1,3 +1,191 @@
+2024-07-12  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * doc/gm2.texi (Community): Update lists.nongnu.org and
+       lists.gnu.org links.
+
+2024-07-12  Jeff Law  <jlaw@ventanamicro.com>
+
+       PR rtl-optimization/115876
+       * ext-dce.cc (carry_backpropagate): Make mask and mmask unsigned.
+
+2024-07-12  Marek Polacek  <polacek@redhat.com>
+
+       * doc/invoke.texi: Remove @opindex and @itemx for -fconcepts-ts.
+
+2024-07-12  Daniel Bertalan  <dani@danielbertalan.dev>
+
+       * value-pointer-equiv.cc: Change NULL to nullptr.
+
+2024-07-12  Richard Sandiford  <richard.sandiford@arm.com>
+
+       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  <jlaw@ventanamicro.com>
+
+       * 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  <stefansf@gcc.gnu.org>
+
+       * 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<mode><tf_vr>): Adapt variants
+       for vgbm,vgm,vrepi for the new scheme.
+       (mov<mode>): 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  <stefansf@gcc.gnu.org>
+
+       * config/s390/vector.md (mov<mode>): Fix output template for
+       movv1qi.
+
+2024-07-12  Roger Sayle  <roger@nextmovesoftware.com>
+           Hongtao Liu  <hongtao.liu@intel.com>
+
+       * 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  <stefansf@gcc.gnu.org>
+
+       * 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  <richard.sandiford@arm.com>
+
+       * config/aarch64/aarch64.cc (aarch64_process_one_target_attr)
+       (aarch64_process_target_attr): Avoid alloca.
+
+2024-07-12  Alexandre Oliva  <oliva@adacore.com>
+
+       PR target/115459
+       * config/alpha/alpha.cc (alpha_expand_block_move): Adjust
+       MEMs to match inferred alignment.
+
+2024-07-12  YunQiang Su  <yunqiang@isrc.iscas.ac.cn>
+
+       PR target/115840
+       * config/riscv/riscv.cc(riscv_preferred_else_value): Mark
+       tmp_var as NO_WARNING.
+
+2024-07-12  xuli  <xuli1@eswincomputing.com>
+
+       PR target/115862
+       * config/riscv/riscv.cc (riscv_slow_unaligned_access): Disable vector misalign.
+
+2024-07-12  Kito Cheng  <kito.cheng@sifive.com>
+
+       * 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  <linkw@linux.ibm.com>
+
+       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<VEC_F:mode><VEC_F:mode>): Remove.
+       (vcond<VEC_I:mode><VEC_I:mode>): Remove.
+       (vcondv4sfv4si): Likewise.
+       (vcondv4siv4sf): Likewise.
+       (vcondv2dfv2di): Likewise.
+       (vcondv2div2df): Likewise.
+       (vcondu<VEC_I:mode><VEC_I:mode>): Likewise.
+       (vconduv4sfv4si): Likewise.
+       (vconduv2dfv2di): Likewise.
+
+2024-07-12  Richard Biener  <rguenther@suse.de>
+
+       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  <jlaw@ventanamicro.com>
+
+       * config/m68k/m68k.md (extendsidi2): Add missing early clobbers.
+
+2024-07-12  Lulu Cheng  <chenglulu@loongson.cn>
+
+       * config/loongarch/loongarch.cc
+       (loongarch_split_move): Delete.
+       (loongarch_hard_regno_mode_ok_uncached): Likewise.
+       * config/loongarch/loongarch.md
+       (move_doubleword_fpr<mode>): Likewise.
+       (load_low<mode>): Likewise.
+       (load_high<mode>): Likewise.
+       (store_word<mode>): Likewise.
+       (movgr2frh<mode>): Likewise.
+       (movfrh2gr<mode>): Likewise.
+
+2024-07-12  Lulu Cheng  <chenglulu@loongson.cn>
+
+       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  <jlaw@ventanamicro.com>
 
        * config/riscv/riscv-string.cc
index 93ea1dc1b26621b17b7b5bb3116792a878c5bc29..c6f47ba7ab6d872b533605b764ac3b78d460f4e7 100644 (file)
@@ -1 +1 @@
-20240712
+20240713
index 93f5a49b0bb413bf014ba45f50770860d38d114f..f1fd3f6f40a5ac312cef0b91318b21404963c6b6 100644 (file)
@@ -1,3 +1,12 @@
+2024-07-12  Daniel Bertalan  <dani@danielbertalan.dev>
+
+       * 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  <dmalcolm@redhat.com>
 
        * diagnostic-manager.cc
index 439ff950e65e9f22ca6df6e5f7f2da36ce0086e5..fb40373f805956c9874fea069af36fc78ad8ef16 100644 (file)
@@ -1,3 +1,44 @@
+2024-07-12  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+       * 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  <nathanieloshead@gmail.com>
+
+       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  <nathanieloshead@gmail.com>
 
        PR c++/99241
index 42613d9173766dc7587246b445cde9dab165409b..acff7f3c61599738a5f1c4e527d01a925948a39b 100644 (file)
@@ -1,3 +1,10 @@
+2024-07-12  Mikael Morin  <morin-mikael@orange.fr>
+
+       * 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  <vehre@gcc.gnu.org>
 
        * trans-array.cc (gfc_conv_array_parameter): Init variable to
index b55ea1530b3029388e950f52ee9046519325ee11..b48e11908bdae995642270073c811ac752ec11cd 100644 (file)
@@ -1,3 +1,11 @@
+2024-07-12  FX Coudert  <fxcoudert@gmail.com>
+
+       * 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  <gaiusmod2@gmail.com>
 
        PR modula2/115823
index 654893bd7f41c796c4cd400336f98fe2b76494b1..ef602b919bed68e628c412afe3e04dfccb36f198 100644 (file)
@@ -1,3 +1,8 @@
+2024-07-12  Daniel Bertalan  <dani@danielbertalan.dev>
+
+       * metadata/rust-imports.cc (Import::try_package_in_directory):
+       Change NULL to nullptr.
+
 2024-06-25  Kewen Lin  <linkw@linux.ibm.com>
 
        * rust-gcc.cc (float_type): Use TYPE_PRECISION of
index d985b85c33c43590f61856a9f94de7ebad0bd89d..534b65ab7dcf9de1b0fdae8e93376bcdd97ddbac 100644 (file)
@@ -1,3 +1,105 @@
+2024-07-12  Richard Sandiford  <richard.sandiford@arm.com>
+
+       PR rtl-optimization/115785
+       * g++.dg/torture/pr115785.C: New test.
+
+2024-07-12  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+       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  <nathanieloshead@gmail.com>
+
+       * g++.dg/modules/using-19_a.C: New test.
+       * g++.dg/modules/using-19_b.C: New test.
+
+2024-07-12  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+       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  <stefansf@gcc.gnu.org>
+
+       * 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  <yunqiang@isrc.iscas.ac.cn>
+
+       * gcc.dg/vect/pr115840.c: New testcase.
+
+2024-07-12  Mikael Morin  <morin-mikael@orange.fr>
+
+       * gfortran.dg/maxloc_5.f90: New test.
+       * gfortran.dg/minloc_5.f90: New test.
+
+2024-07-12  xuli  <xuli1@eswincomputing.com>
+
+       PR target/115862
+       * gcc.target/riscv/rvv/base/pr115862.c: New file.
+
+2024-07-12  Kito Cheng  <kito.cheng@sifive.com>
+
+       * gcc.target/riscv/predef-sf-1.c: New.
+       * gcc.target/riscv/predef-sf-2.c: New.
+
+2024-07-12  Lulu Cheng  <chenglulu@loongson.cn>
+
+       PR target/115752
+       * gcc.target/loongarch/pr115752.c: New test.
+
 2024-07-11  Andre Vieira  <andre.simoesdiasvieira@arm.com>
 
        * gcc.target/arm/mve/intrinsics/vsetq_lane_su64.c: New test.
index 02e082eeca4f73f8b29ad89d80addb00a2e71c9d..df490825deda1c59b160d62b751d691385248a0a 100644 (file)
@@ -1,3 +1,26 @@
+2024-07-12  Ian Lance Taylor  <iant@golang.org>
+
+       * elf.c (elf_add): Don't use .gnu_debugdata if we are already
+       reading a debuginfo file.
+       * Makefile.am (m2test_*): New test targets.
+       (CHECK_PROGRAMS): Add m2test.
+       (MAKETESTS): Add m2test_minidebug2.
+       (%_minidebug2): New pattern.
+       (CLEANFILES): Remove minidebug2 files.
+       * Makefile.in: Regenerate.
+
+2024-07-12  Ian Lance Taylor  <iant@golang.org>
+
+       * btest.c (test5): Don't fail if symbol size is 0.
+       * mtest.c (test5): Likewise.
+
+2024-07-12  Ian Lance Taylor  <iant@golang.org>
+
+       * macho.c (MACH_O_N_EXT): Don't define.
+       (MACH_O_N_UNDF): Define.
+       (macho_defined_symbol): Don't discard N_EXT symbols.  Do
+       discard N_UNDF symbols.
+
 2024-07-11  Ian Lance Taylor  <iant@golang.org>
 
        * btest.c (test1, test3): Add optnone attribute.
index 1ba144f5f35887a182c4ce52d430c57fd94722f5..93a76d90e279f9a31ce8ca3653b592c744d513b3 100644 (file)
@@ -1,3 +1,15 @@
+2024-07-12  Alexandre Oliva  <oliva@adacore.com>
+
+       * testsuite/decimal/binary-arith.cc: Require dfprt.
+       * testsuite/decimal/comparison.cc: Likewise.
+       * testsuite/decimal/compound-assignment.cc: Likewise.
+       * testsuite/decimal/compound-assignment-memfunc.cc: Likewise.
+       * testsuite/decimal/make-decimal.cc: Likewise.
+       * testsuite/decimal/pr54036-1.cc: Likewise.
+       * testsuite/decimal/pr54036-2.cc: Likewise.
+       * testsuite/decimal/pr54036-3.cc: Likewise.
+       * testsuite/decimal/unary-arith.cc: Likewise.
+
 2024-07-11  Jonathan Wakely  <jwakely@redhat.com>
 
        * testsuite/29_atomics/atomic_ref/bool.cc: New test.