]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 8 May 2026 00:16:28 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 8 May 2026 00:16:28 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog
libstdc++-v3/ChangeLog

index 43fbd776157ff3bf253fb9fbfbdafc7e629bea3c..d18eb640f1aa9bdb619c7da8852d04f70c67fa8d 100644 (file)
@@ -1,3 +1,123 @@
+2026-05-07  Eikansh Gupta  <eikansh.gupta@oss.qualcomm.com>
+
+       PR tree-optimization/109878
+       * match.pd(min/max (a & CST0, a & CST1)): New pattern.
+       (min/max (a, a & CST)): New pattern.
+
+2026-05-07  Jeff Law  <jeffrey.law@oss.qualcomm.com>
+
+       PR tree-optimization/106244
+       * config/riscv/riscv.md ((and (ashift X Y) const_int 1)): New splitter.
+
+2026-05-07  Eikansh Gupta  <eikansh.gupta@oss.qualcomm.com>
+
+       PR tree-optimization/123514
+       * match.pd ((x - (x<0)) ^ -(x<0) into ABS_EXPR<x>): New pattern.
+
+2026-05-07  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * rtlanal.cc (commutative_operand_precedence): Bump the precedence
+       of non-commutative binary arithmetic to 3.  Give comparisons a
+       precedence of 2.
+
+2026-05-07  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * combine.cc (make_compound_operation_int): Remove PLUS and MINUS
+       simplifications and PLUS operand order swapping.  Delegate those
+       tasks to simplify_gen_binary instead.
+
+2026-05-07  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * alloc-pool.h (object_allocator::allocate): Generalize to handle
+       non-default constructors.
+
+2026-05-07  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * rtl.h (post_ra_split_completed): Declare.
+       * final.cc (rest_of_clean_state): Set it to false.
+       * recog.cc (post_ra_split_completed): New variable.
+       (split_insn): Temporarily set post_ra_split_completed while walking
+       the new instructions.
+       (split_all_insns, split_all_insns_noflow): Set post_ra_split_completed
+       after completing a post-reload split.
+       * config/rx/rx.md (*cmpsi, *tstsi, *cmpsf, *conditional_branch)
+       (*sccc, *stcc, *stcc_reg, *abssi2_flags, *addsi3_flags, adc_internal)
+       (*adc_flags, *andsi3_flags, *negsi2_flags, *one_cmplsi2_flags)
+       (*iorsi3_flags, *rotlsi3_flags, *rotrsi3_flags, *ashrsi3_flags)
+       (*lshrsi3_flags, *ashlsi3_flags, *sat, *subsi3_flags, sbb_internal)
+       (*sbb_flags, *xorsi3_flags, *bmcc): Require post_ra_split_completed
+       rather than reload_completed.
+       (comparesi3_<extend_types:code><small_int_modes:mode>, addsi3_flags)
+       (subsi3_flags): Require post_ra_split_completed.
+
+2026-05-07  Pengxuan Zheng  <pengxuan.zheng@oss.qualcomm.com>
+
+       PR tree-optimization/125214
+       * match.pd (min|max(a+|-c,b+|-c)): Add integral type check.
+
+2026-05-07  Roger Sayle  <roger@nextmovesoftware.com>
+
+       PR middle-end/122871
+       * expmed.cc (synth_mult): Handle doubleword left shifts by
+       BITS_PER_WORD bits or more, for scalar modes.
+       * optabs.cc (expand_doubleword_mult): Avoid generating multiply
+       instructions by immediate constants 0, 1 or 2.
+
+2026-05-07  Avinash Jayakar  <avinashd@linux.ibm.com>
+
+       * config/rs6000/crypto.md (UNSPEC_XXAESENCP): New unspec entry.
+       (UNSPEC_XXAES128ENCP): Likewise.
+       (UNSPEC_XXAES192ENCP): Likewise.
+       (UNSPEC_XXAES256ENCP): Likewise.
+       (UNSPEC_XXAESDECP): Likewise.
+       (UNSPEC_XXAES128DECP): Likewise.
+       (UNSPEC_XXAES192DECP): Likewise.
+       (UNSPEC_XXAES256DECP): Likewise.
+       (UNSPEC_XXAESGENLKP): Likewise.
+       (UNSPEC_XXAES128GENLKP): Likewise.
+       (UNSPEC_XXAES192GENLKP): Likewise.
+       (UNSPEC_XXAES256GENLKP): Likewise.
+       (UNSPEC_XXGFMUL128): Likewise.
+       (UNSPEC_XXGFMUL128GCM): Likewise.
+       (UNSPEC_XXGFMUL128XTS): Likewise.
+       (AESACC_base_code): New iterator for xxaesencp and xxaesdecp base
+       mnemonics.
+       (AESACC_code): New iterator for xxaesencp and xxaesdecp extended
+       mnemonics.
+       (AESGENLKP_code): New iterator for xxaesgenlkp extended mnemonics.
+       (AESGF_code): New iterator for xxgfmul128 extended mnemonics.
+       (AESACC_base_insn): New attribute iterator for xxaesencp and xxaesdecp
+       base mnemonics.
+       (AESACC_insn): New attribute iterator for xxaesencp and xxaesdecp
+       extended mnemonics.
+       (AESGENLKP_insn): New attribute iterator for xxaesgenlkp extended
+       mnemonics.
+       (AESGF_insn): New attribute iterator for xxgfmul128 extended mnemonics.
+       (<AESACC_base_insn>): New define_insn for xxaesencp and xxaesdecp base
+       mnemonics.
+       (<AESACC_insn>): New define_insn for xxaesencp and xxaesdecp extended
+       mnemonics.
+       (<AESGENLKP_insn>): New define_insn for xxaesgenlkp extended mnemonics.
+       (xxaesgenlkp): New define_insn for genlkp base mnemonic.
+       (<AESGF_insn>): New define_insn for xxgfmul128 extended mnemonics.
+       (xxgfmul128): New define_insn for xxgfmul128 base mnemonic.
+       * config/rs6000/rs6000-builtins.def: Added new builtin definitions for
+       AES acceleration.
+       * doc/extend.texi: Add new section for AES acceleration builtins
+       for Future ISA.
+
+2026-05-07  Pan Li  <pan2.li@intel.com>
+
+       * config/riscv/predicates.md: Add lt to swapped operator.
+       * config/riscv/riscv-v.cc (get_swapped_cmp_rtx_code): Handle
+       the rtl as well.
+
+2026-05-07  Pengxuan Zheng  <pengxuan.zheng@oss.qualcomm.com>
+
+       PR tree-optimization/116008
+       PR tree-optimization/124560
+       * match.pd (min|max(a+|-c,b+|-c)): New patterns.
+
 2026-05-06  Jason Merrill  <jason@redhat.com>
 
        * Makefile.in (TAGS): Add diagnostics/ and text-art/.
index 4700f4f5c2f795148fe6b9197b03de20be1a5bcb..7ad52d8546edd41716b93a62dac0e3e18d1fc068 100644 (file)
@@ -1 +1 @@
-20260507
+20260508
index 64cd76833937d1327df632c683b8eea8972bf145..1609970fd11ab38e28c2ab4bd2e0710153b1a092 100644 (file)
@@ -1,3 +1,66 @@
+2026-05-07  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/124770
+       * decl.cc (wrapup_namespace_globals): Give the odr-used
+       inline variable error only when !DECL_INITIAL.
+
+2026-05-07  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/125206
+       * tree.cc (strip_typedefs_expr) <case REFLECT_EXPR>: Always
+       return instead of recursing.
+
+2026-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/125007
+       * cp-tree.h (maybe_update_function_parm): Declare.
+       * reflect.cc (maybe_update_function_parm): No longer static.
+       * error.cc (dump_expr) <case REFLECT_EXPR>: Improve printing
+       of various reflections.
+
+2026-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/125184
+       * reflect.cc (check_out_of_consteval_use_r): Don't walk children of
+       USING_STMTs.
+
+2026-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/124347
+       * constexpr.cc (cxx_eval_builtin_function_call): For
+       mce_true strip nops in first argument of BUILT_IN*_OBJECT_SIZE
+       if the inner expression is ADDR_EXPR.
+
+2026-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/125111
+       * reflect.cc (extract_ref): Throw instead of trying to build
+       arrays of functions, methods or arrays with NULL TYPE_DOMAIN.
+
+2026-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/124991
+       * cp-tree.h (struct lang_type): Document typeinfo_var member.
+       (get_classtype_typeinfo_var): New inline function.
+       (CLASSTYPE_TYPEINFO_VAR): Use it.
+       (set_classtype_typeinfo_var): New inline function.
+       (SET_CLASSTYPE_TYPEINFO_VAR): Define.
+       (get_anon_aggr_type_field): New inline function.
+       (ANON_AGGR_TYPE_FIELD): Use it.
+       (set_anon_aggr_type_field): New inline function.
+       (SET_ANON_AGGR_TYPE_FIELD): Define.
+       * decl.cc (fixup_anonymous_aggr): Use SET_ANON_AGGR_TYPE_FIELD
+       instead of ANON_AGGR_TYPE_FIELD.
+       * module.cc (trees_in::read_class_def): Use
+       SET_CLASSTYPE_TYPEINFO_VAR instead of setting
+       CLASSTYPE_TYPEINFO_VAR and do it even for ANON_AGGR_TYPE_P
+       types.  Use SET_ANON_AGGR_TYPE_FIELD instead of setting
+       ANON_AGGR_TYPE_FIELD.
+       * rtti.cc (get_tinfo_decl_direct): Use SET_CLASSTYPE_TYPEINFO_VAR
+       instead of setting CLASSTYPE_TYPEINFO_VAR.
+       * semantics.cc (finish_member_declaration): Use
+       SET_ANON_AGGR_TYPE_FIELD instead of setting ANON_AGGR_TYPE_FIELD.
+
 2026-05-06  Patrick Palka  <ppalka@redhat.com>
 
        PR c++/125179
index 4e6b0bd0e8ce393444ce2aeec18f3c8dfddebbde..8632d34eb5981d16224226e64b4e107a215c6423 100644 (file)
@@ -1,3 +1,31 @@
+2026-05-07  Mikael Morin  <mikael@gcc.gnu.org>
+
+       PR fortran/125192
+       PR fortran/125198
+       * trans-array.cc (gfc_conv_expr_descriptor): Add bounds checking
+       code to the outermost loop's preliminary block.
+
+2026-05-07  Mikael Morin  <mikael@gcc.gnu.org>
+
+       * trans-array.cc (trans_array_bound_check): Replace references
+       to SE->PRE with references to the new argument BLOCK.  Remove
+       argument SE.
+       (array_bound_check_elemental): Likewise.  Update caller.
+       (conv_array_index_offset): Update caller.
+       (gfc_conv_expr_descriptor): Update caller.
+
+2026-05-07  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/125172
+       * resolve.cc (gfc_fixup_inferred_type_refs): Update kind for
+       INQUIRY_RE and INQUIRY_IM references on inferred complex
+       associate-name.
+       (resolve_variable): For an inferred-type associate-name with
+       no subobject ref, refresh e->ts from sym->ts.
+       (resolve_assoc_var): For an inferred-type complex/character
+       associate-name, refresh sym->ts from the resolved target when
+       only the kind differs.
+
 2026-05-02  Tobias Burnus  <tburnus@baylibre.com>
            Julian Brown  <julian@codesourcery.com>
 
index 3fff73c8423a578a97fd1a0e5a25b98457673749..f34e272b073a28697a1758d5be55f7f093a8ed8d 100644 (file)
@@ -1,3 +1,120 @@
+2026-05-07  Eikansh Gupta  <eikansh.gupta@oss.qualcomm.com>
+
+       PR tree-optimization/109878
+       * gcc.dg/tree-ssa/pr109878-1.c: New test.
+       * gcc.dg/tree-ssa/pr109878-2.c: New test.
+       * gcc.dg/tree-ssa/pr109878-3.c: New test.
+       * gcc.dg/tree-ssa/pr109878.c: New test.
+
+2026-05-07  Jeff Law  <jeffrey.law@oss.qualcomm.com>
+
+       PR tree-optimization/106244
+       * gcc.target/riscv/pr106244.c: New test.
+
+2026-05-07  Eikansh Gupta  <eikansh.gupta@oss.qualcomm.com>
+
+       PR tree-optimization/123514
+       * gcc.dg/tree-ssa/pr123514.c: New test.
+
+2026-05-07  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/124770
+       * g++.dg/reflect/init18.C: New test.
+
+2026-05-07  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/125206
+       * g++.dg/reflect/bases_of4.C: New test.
+
+2026-05-07  Mikael Morin  <mikael@gcc.gnu.org>
+
+       PR fortran/125192
+       PR fortran/125198
+       * gfortran.dg/bounds_check_29.f90: New test.
+
+2026-05-07  Pengxuan Zheng  <pengxuan.zheng@oss.qualcomm.com>
+
+       PR tree-optimization/125214
+       * gcc.dg/tree-ssa/pr125214.c: New test.
+
+2026-05-07  Roger Sayle  <roger@nextmovesoftware.com>
+
+       PR middle-end/122871
+       * gcc.target/arm/muldi-1.c: New test case.
+
+2026-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/125007
+       * g++.dg/reflect/pr125007.C: New test.
+
+2026-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.dg/analyzer/divide-by-zero-6.c (init_foo): Use sizeof (*f)
+       rather than sizeof (f).
+
+2026-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/125184
+       * g++.dg/reflect/using3.C: New test.
+
+2026-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/124347
+       * g++.dg/ext/builtin-object-size4.C: New test.
+       * g++.dg/ext/builtin-object-size5.C: New test.
+       * g++.dg/ext/builtin-object-size6.C: New test.
+
+2026-05-07  Avinash Jayakar  <avinashd@linux.ibm.com>
+
+       * gcc.target/powerpc/aes-builtin-1.c: New test.
+       * gcc.target/powerpc/aes-builtin-2.c: New test.
+       * gcc.target/powerpc/aes-builtin-3.c: New test.
+
+2026-05-07  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/125172
+       * gfortran.dg/associate_79.f90: New test.
+
+2026-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/125111
+       * g++.dg/reflect/extract12.C: New test.
+
+2026-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/124991
+       * g++.dg/reflect/anon5.C: New test.
+
+2026-05-07  Pan Li  <pan2.li@intel.com>
+
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i16.c: Add asm check
+       for vmsgt.vx.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i32.c: Ditto.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i64.c: Ditto.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i8.c: Ditto.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-i16.c: Ditto.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-i32.c: Ditto.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-i64.c: Ditto.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-i8.c: Ditto.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-i16.c: Ditto.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-i32.c: Ditto.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-i64.c: Ditto.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-i8.c: Ditto.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx_binary.h: Add test
+       helper macros.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx_binary_data.h: Add test
+       data for run test.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmsgt-run-1-i16.c: New test.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmsgt-run-1-i32.c: New test.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmsgt-run-1-i64.c: New test.
+       * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmsgt-run-1-i8.c: New test.
+
+2026-05-07  Pengxuan Zheng  <pengxuan.zheng@oss.qualcomm.com>
+
+       PR tree-optimization/116008
+       PR tree-optimization/124560
+       * gcc.dg/tree-ssa/pr124560.c: New test.
+
 2026-05-06  Harald Anlauf  <anlauf@gmx.de>
 
        PR libfortran/125095
index 607f56d44b9e0f0b36064b06389a34dbdbe9fc48..6f9c49639641fe64ee6829322acc86f30b00aaa2 100644 (file)
@@ -1,3 +1,27 @@
+2026-05-07  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/78302
+       PR libstdc++/71301
+       * include/std/tuple [C++20] (tuple(tuple&&)): Add
+       requires-clause.
+       * testsuite/20_util/tuple/cons/78302.cc: New test.
+
+2026-05-07  Tomasz KamiƄski  <tkaminsk@redhat.com>
+
+       PR libstdc++/105580
+       * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_sbuf):
+       Remove mutable and adjust whitespace.
+       (istreambuf_iterator::_M_c): Adjust whitespace.
+       (istreambuf_iterator::operator++()): Clear _M_sbuf if next character
+       is EoF.
+       (istreambuf_iterator::operator++(int)): Use _M_sbuf->sgetc() to
+       load current character, and define in terms of ++*this.
+       (istreambuf_iterator::_M_get()): Do not clear _M_sbuf in case of EoF.
+       * include/std/streambuf (streambuf::gptr, streambuf::egptr)
+       (streambuf::gbump): Remove surrounding pragma disabling -Wnull-dereference.
+       * testsuite/24_iterators/istreambuf_iterator/2.cc: Test for using
+       multiple iterators to same rdbuf.
+
 2026-05-06  Jonathan Wakely  <jwakely@redhat.com>
 
        * include/bits/out_ptr.h (out_ptr_t::_Impl::~_Impl): Adjust