https://gcc.gnu.org/g:b63a5e545fce98588f763fd1239adca9b81a58e5
commit r17-634-gb63a5e545fce98588f763fd1239adca9b81a58e5 Author: GCC Administrator <[email protected]> Date: Thu May 21 00:16:26 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 112 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/algol68/ChangeLog | 7 +++ gcc/analyzer/ChangeLog | 6 +++ gcc/fortran/ChangeLog | 7 +++ gcc/testsuite/ChangeLog | 68 +++++++++++++++++++++++++++++ libstdc++-v3/ChangeLog | 16 +++++++ 7 files changed, 217 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 00dec46427aa..a68d5afee2d0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,115 @@ +2026-05-20 Shivam Gupta <[email protected]> + + PR tree-optimization/112533 + * match.pd: Add integral narrowing eq/ne to XOR-against-zero + rule for (T)(x) == (T)(y) where precision(T) < precision(x). + +2026-05-20 Richard Sandiford <[email protected]> + + * cselib.h (references_value_p): Remove only_useless parameter. + * cselib.cc (references_value_p): Likewise. Use rtx iterators. + (invariant_or_equiv_p): Update accordingly. + * postreload.cc (reload_cse_simplify_set): Likewise. + * var-tracking.cc (reverse_op): Likewise. + +2026-05-20 Richard Sandiford <[email protected]> + + * cselib.h (cselib_val::HASH_MASK): New static constant. + (cselib_val::hash): Turn into a 30-bit bitfield. + (cselib_val::in_preserved_table_p): New bitfield. + (cselib_val::all_locs_preserved_p): Likewise. + * cselib.cc: Include rtl-iter.h. + (cselib_preserved_prune_list): New variable. + (cselib_clear_all_locs_preserved): New function. + (new_elt_loc_list): Call it when modifying a value's location list. + (preserve_constants_and_equivs): Set in_preserved_table_p when + moving a value to the preserved hash table. Also push such values + onto cselib_preserved_prune_list. + (cselib_find_slot): Mask out the upper 2 bits of the hash. + (discard_useless_locs): New overload, split out from original + hash table traverse callback. Use an inline rtl iteration + instead of calling references_value_p. Record whether the + retained location only reference preserved value. + (remove_useless_values): Iterate over cselib_preserved_prune_list + instead of the hash table itself. Remove a value from the list + if all remaining locations only reference preserved value. + (new_cselib_val): Initialize the new bitfields. + (cselib_finish): Free cselib_preserved_prune_list. + +2026-05-20 Richard Sandiford <[email protected]> + + * cselib.cc (new_elt_loc_list): Cache CSELIB_VAL_PTR. + +2026-05-20 Nathan Sidwell <[email protected]> + + * config/riscv/riscv-builtins.cc (enum riscv_builtin_type): Delete. + (struct riscv_builtin_description): Replace builtin_type by bool. + Reorder fields for better packing. + (RISCV_BUILTIN_NO_PREFIX): Remove BUILTIN_TYPE arg. + (RISCV_BUILTIN): Likewise, call RISCV_BUILTIN_NO_PREFIX. + (DIRECT_BUILTIN): Adjust RISCV_BUILTIN invocation. + (DIRECT_NO_TARGET_BUILTIN): Delete. + (riscv_builtins): Make non-constant. Adjust initializers. + (riscv_init_builtins): Compute no_target from function type. + (riscv_expand_builtin): Simplify. + * config/riscv/andes.def: Adjust. + * config/riscv/corev.def: Adjust. + * config/riscv/riscv-cmo.def: Adjust. + * config/riscv/riscv-scalar-crypto.def: Adjust. + +2026-05-20 Uros Bizjak <[email protected]> + + * config/i386/x86-tune.def (X86_TUNE_SHIFT1): Remove. + * config/i386/i386.h (TARGET_SHIFT1): Remove. + * config/i386/i386.md (*ashl<mode>3_1<nf_name>): Remove + TARGET_SHIFT1-gated implicit-1 encoding and simplify + length_immediate attribute. + (*ashlsi3_1_zext): Likewise. + (*ashlhi3_1<nf_name>): Likewise. + (*ashlqi3_1<nf_name>): Likewise. + (*ashl<mode>3_1_slp): Likewise. + (*ashl<mode>3_cmp): Likewise. + (*ashlsi3_cmp): Likewise. + (*<any_shiftrt:insn><mode>3_1<nf_name>): Likewise. + (*<any_shiftrt:insn>si3_1_zext): Likewise. + (*<any_shiftrt:insn><mode>3_1_slp): Likewise. + (*<any_shiftrt:insn><mode>3_cconly): Likewise. + (*<any_shiftrt:insn>qi_ext<mode>_1): Likewise. + (<any_shiftrt:insn><mode>3_carry): Likewise. + +2026-05-20 Michiel Derhaeg <[email protected]> + + PR target/115650 + * config/arc/arc.cc (legitimate_small_data_address_p): Check + offset size. + +2026-05-20 Jakub Jelinek <[email protected]> + + PR target/125373 + * config/i386/i386.md + (Convert imul by three, five and nine into lea define_peephole2s): Use + index_reg_operand instead of register_operand. + +2026-05-20 Jakub Jelinek <[email protected]> + + PR target/125357 + * config/i386/i386-expand.cc (ix86_expand_vec_perm): For TARGET_AVX + one_operand_shuffle handle also V2DImode and V2DFmode using + vpaddq and vpermilpd. + +2026-05-20 liuhongt <[email protected]> + + * tree-ssa-loop-unswitch.cc (estimate_loop_insns): New function. + (init_loop_unswitch_info): Do not select an outer loop for + unswitching when the duplicated outer-body size exceeds + param_max_unswitch_insns. + +2026-05-20 Zhou Qiankang <[email protected]> + + PR target/125362 + * config/loongarch/t-loongarch (TM_H): Add + common/config/loongarch/cpu-features.h. + 2026-05-19 Pengxuan Zheng <[email protected]> PR target/123748 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 25622053d367..49fefbb3d21d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260520 +20260521 diff --git a/gcc/algol68/ChangeLog b/gcc/algol68/ChangeLog index f6940d093582..268493835ceb 100644 --- a/gcc/algol68/ChangeLog +++ b/gcc/algol68/ChangeLog @@ -1,3 +1,10 @@ +2026-05-20 Pietro Monteiro <[email protected]> + + * a68-parser-prelude.cc (gnu_prelude): Map FLOOR(L real):L int + to ENTIER(L real):L int. + * ga68.texi: Add a section for real operators in the Extended + prelude chapter and document FLOOR. + 2026-05-10 Jose E. Marchesi <[email protected]> * a68-parser-taxes.cc (is_mappable_routine): Remove handling of diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 87b9a8e4ea09..174ec5964a1e 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,9 @@ +2026-05-20 David Malcolm <[email protected]> + + * region-model-manager.cc + (region_model_manager::maybe_fold_binop): Fold + "(X POINTER_PLUS Y) POINTER_DIFF_EXPR X" to Y. + 2026-05-19 David Malcolm <[email protected]> PR analyzer/125304 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 0cd6f3e9a289..a7837d18a4f0 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,10 @@ +2026-05-20 Thomas Koenig <[email protected]> + + PR fortran/106546 + * frontend-passes.cc (create_var): Set attr->automatic on + new symbol. + (create_do_loop): Likewise on iteration variable. + 2026-05-19 Julian Brown <[email protected]> Tobias Burnus <[email protected]> diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 98a479522825..4accee3b91c6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,71 @@ +2026-05-20 Pietro Monteiro <[email protected]> + + * algol68/execute/entier-1.a68: Add test for FLOOR = ENTIER. + * algol68/compile/floor-1.a68: New test. + +2026-05-20 Shivam Gupta <[email protected]> + + PR tree-optimization/112533 + * gcc.dg/tree-ssa/narrow-bool-eq.c: New test. + * gcc.dg/tree-ssa/narrow-integral-eq.c: New test. + * gcc.dg/tree-ssa/narrow-short-eq.c: New test. + * gcc.dg/tree-ssa/narrow-float-eq.c: New test. + +2026-05-20 Thomas Koenig <[email protected]> + + PR fortran/106546 + * gfortran.dg/inline_matmul_27.f90: New test. + +2026-05-20 David Malcolm <[email protected]> + + PR analyzer/125236 + * g++.dg/analyzer/torture/README.txt: New. + * g++.dg/analyzer/torture/std-string-ctor-large-literal.C: New + test. + * g++.dg/analyzer/torture/std-string-ctor-small-literal.C: New + test. + * g++.dg/analyzer/torture/std-string-default-ctor.C: New test. + * g++.dg/analyzer/torture/std-unique-ptr-1.C: New test. + +2026-05-20 David Malcolm <[email protected]> + + * c-c++-common/analyzer/ptr-subtraction-2.c: New test. + +2026-05-20 David Malcolm <[email protected]> + + PR analyzer/125304 + * g++.dg/analyzer/torture/std-string-pr125304.C: New test. + +2026-05-20 David Malcolm <[email protected]> + + * g++.dg/analyzer/torture/analyzer-torture.exp: New script. + +2026-05-20 Michiel Derhaeg <[email protected]> + + PR target/115650 + * gcc.target/arc/sdata-6.c: New test. + +2026-05-20 Jakub Jelinek <[email protected]> + + PR target/125373 + * gcc.c-torture/compile/pr125373.c: New test. + +2026-05-20 Jakub Jelinek <[email protected]> + + PR target/125357 + * gcc.target/i386/avx-pr125357-2.c: New test. + * gcc.target/i386/avx2-pr125357-2.c: New test. + +2026-05-20 liuhongt <[email protected]> + + * gcc.dg/loop-unswitch-19.c: New test. + +2026-05-20 Kito Cheng <[email protected]> + + * gcc.dg/crc-builtin-rev-target32.c: Match the new + "emitting reversed crc table" dump message. + * gcc.dg/crc-builtin-rev-target64.c: Likewise. + 2026-05-19 Pengxuan Zheng <[email protected]> * gcc.target/aarch64/pr123748.c: Use "long long" instead of "long". diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8fc038268c70..866d38c9b561 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,19 @@ +2026-05-20 Jonathan Wakely <[email protected]> + + * src/c++20/Makefile.am [USE_STATIC_TZDATA]: Remove targets for + tzdata.zi.h, tzdb.lo and tzdb.o. + * src/c++20/Makefile.in: Regenerate. + * src/c++20/tzdb.cc (tzdata_chars): Use #embed. + (tzdata_stream::ispanbuf): Remove adjustment for extra newline + inserted by the Makefile recipe for tzdata.zi.h. + +2026-05-20 Nathan Myers <[email protected]> + + * config/abi/pre/gnu.ver: Remove recent symbol swept up in + GLIBCXX_3.4.21. + * include/bits/basic_string.tcc (reserve): Guard __limit decl + under #if __cpp_exceptions to quiet warning. + 2026-05-19 Jonathan Wakely <[email protected]> * src/c++20/tzdata.zi: Import new file from 2026b release.
