https://gcc.gnu.org/g:fe31926b36c8398e1514c6acb3dad03d168f48ac
commit r17-5748-gfe31926b36c8398e1514c6acb3dad03d168f48ac Author: GCC Administrator <[email protected]> Date: Fri Oct 30 00:16:40 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 144 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/algol68/ChangeLog | 5 ++ gcc/fortran/ChangeLog | 11 ++++ gcc/testsuite/ChangeLog | 101 +++++++++++++++++++++++++++++++++ libgomp/ChangeLog | 5 ++ libstdc++-v3/ChangeLog | 33 +++++++++++ 7 files changed, 300 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3101a7ad1ba9..8d8dae8e879b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,147 @@ +2026-10-29 Vladimir N. Makarov <[email protected]> + + PR middle-end/128174 + * lra-constraints.cc (add_invariant): New function. + (process_invariant_for_inheritance): Call add_invariant. + +2026-10-29 Uros Bizjak <[email protected]> + + PR target/128271 + * config/i386/i386.md (rstorssp): Model + the memory operand as read and modified by the insn. + (clrssbsy): Ditto. Clobber FLAGS_REG. + (@wrss<mode>, @wruss<mode>): Model + the memory operand as set by the insn. + +2026-10-29 Paul-Antoine Arras <[email protected]> + + * tree-ssa-loop-ivopts.cc (struct iv_cand): Add nregs. + (struct ivopts_data): Add inv_var_nregs and inv_expr_nregs. + (class iv_ca): Add n_cand_regs and n_inv_regs. + (tree_ssa_iv_optimize_init): Create inv_var_nregs and + inv_expr_nregs. + (nregs_per_value): New function. + (determine_iv_cost): Set the candidate's nregs. + (ivopts_estimate_reg_pressure): Take register counts instead of + value counts. Update comment. + (determine_set_costs): Fill inv_var_nregs and inv_expr_nregs. + Count regs_used in registers. Dump the number of values too. + (iv_ca_recount_cost): Pass register counts. Check them against + the value counts. + (iv_ca_set_remove_invs, iv_ca_set_add_invs): Add NREGS parameter + and update n_inv_regs. + (iv_ca_set_no_cp, iv_ca_set_cp): Update n_cand_regs and pass the + register tables. + (iv_ca_new): Initialize n_cand_regs and n_inv_regs. + (iv_ca_dump): Pass register counts. Dump registers and values. + (free_loop_data): Truncate inv_var_nregs and inv_expr_nregs. + (tree_ssa_iv_optimize_finalize): Release them. + +2026-10-29 Paul-Antoine Arras <[email protected]> + + * config/gcn/gcn.h (SWITCHABLE_TARGET): Define. + * config/gcn/gcn.cc: Include target-globals.h. + (normal_function_globals, old_is_kernel): New static variables. + (gcn_is_kernel): New function. + (gcn_set_current_function): New function. + (gcn_prepare_pch_save): New function. + (gcn_conditional_register_usage): Use gcn_is_kernel to detect + non-kernel functions and do not require cfun->machine for them. + (TARGET_SET_CURRENT_FUNCTION, TARGET_PREPARE_PCH_SAVE): Define. + +2026-10-29 Tamar Christina <[email protected]> + Alfie Richards <[email protected]> + + PR tree-optimization/128028 + * tree-vect-loop-manip.cc (vect_set_loop_controls_directly): + Move the trip count adjustment to vect_gen_vector_loop_niters. + (vect_reuse_loop_latch): Remove. + (vect_set_loop_condition_partial_vectors): Leave condition insertion + and final IV updates to the caller. + (vect_set_loop_condition_partial_vectors_avx512): Likewise. + (vect_set_loop_condition_normal): Leave condition insertion to the + caller and use the completed iteration count. + (vect_set_loop_condition): Share exit relocation and partial-vector + final IV updates. + (vect_gen_vector_loop_niters): Exclude the header-only iteration. + (vect_gen_vector_loop_niters_mult_vf): Remove the VF subtraction. + (vect_do_peeling): Replay the main exit only for uncounted loops. + * tree-vect-loop.cc (vect_analyze_loop_2): Account for the header-only + iteration in the versioning threshold. + +2026-10-29 Richard Biener <[email protected]> + + PR tree-optimization/128277 + * tree-ssa-ccp.cc (do_ssa_ccp): Initialize loops with + LOOPS_HAVE_SIMPLE_LATCHES. + +2026-10-29 liuhongt <[email protected]> + + * tree-vect-patterns.cc (vect_recog_divmod_pattern): Use a plain + arithmetic shift for EXACT_DIV_EXPR by a positive power of two. + +2026-10-29 wangzicong <[email protected]> + + * tree-vect-loop.cc (vect_compute_single_scalar_iteration_cost): + Record unweighted scalar statement counts. + (vect_scalar_peeling_stmt_count): New function. + (vect_estimate_min_profitable_iters): Use it when costing scalar + prologue and epilogue iterations. + +2026-10-29 Haochen Jiang <[email protected]> + + PR target/127459 + * config/i386/sse.md (avx_vec_concat_isa): New. + (avx_vec_concat<mode>): Allow 256 bit vinsert*64x2/32*4 when + AVX512VL is enabled. + +2026-10-29 Stefan Schulze Frielinghaus <[email protected]> + + * config/s390/s390.md (aop<mode>3): New expander. + +2026-10-29 Uros Bizjak <[email protected]> + + PR target/122382 + * config/i386/sse.md (VHF_F16C, VF1_F16C): New mode iterators. + (vec_unpacks_lo_<mode>, vec_unpacks_hi_<mode>): Use VHF_F16C. + Remove the TARGET_AVX512FP16 condition. Call gen_extendv4hfv4sf2 + for V8HFmode. + (f16c_truncv4sfv8hf2): New expander. + (trunc<mode>v4hf2): Use it for V4SFmode. + (vec_pack_trunc_<mode>): Use VF1_F16C. Remove the + TARGET_AVX512FP16 condition. Call gen_f16c_truncv4sfv8hf2 for + V4SFmode. + +2026-10-29 Ondřej Machota <[email protected]> + + * common.opt (fmalloc-dce): Use flag_malloc_dce instead of + flag_malloc_dse. + * tree-ssa-dce.cc (checks_return_value_of_removable_allocation_p): + Also handle comparisons against NULL in assignments. + (eliminate_unnecessary_stmts): Fold such comparisons to a constant + when the allocation is removed. + +2026-10-29 Michael Meissner <[email protected]> + + PR target/117251 + * config/rs6000/fusion.md: Regenerate using the genfusion.pl changes. + * config/rs6000/genfusion.pl (gen_logical_addsubf): Add support for + generating XXEVAL to use for fusing logical operations on power10 and + later. + * config/rs6000/predicates.md (vector_fusion_operand): New predicate. + * config/rs6000/rs6000.h (TARGET_XXEVAL): New macro. + * config/rs6000/rs6000.md (isa attribute): Add prefixed isa attribute + for vector registers and prefixed. + +2026-10-29 Philipp Tomsich <[email protected]> + Konstantinos Eleftheriou <[email protected]> + + PR tree-optimization/128117 + * tree-ssa-forwprop.cc (long_mul_check_ladder_sum1): New. + (long_mul_check_ladder_sum2): New. + (long_mul_table): Use them for the ladder_sum1 and ladder_sum2 + high-part rows. + 2026-10-28 Pan Li <[email protected]> PR target/128162 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 2e398bcbd4e5..2ba2d0a790d0 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20261029 +20261030 diff --git a/gcc/algol68/ChangeLog b/gcc/algol68/ChangeLog index af2e4097f00e..433e661fef61 100644 --- a/gcc/algol68/ChangeLog +++ b/gcc/algol68/ChangeLog @@ -1,3 +1,8 @@ +2026-10-29 Jose E. Marchesi <[email protected]> + + * a68-parser-moids-check.cc (find_operator): Do not apply shortcut + for cross real/int definitions to exponentiation. + 2026-10-26 James LeBlanc <[email protected]> Jose E. Marchesi <[email protected]> diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 48dcf3776806..cde3faf507f8 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,14 @@ +2026-10-29 Jerry DeLisle <[email protected]> + + PR fortran/126968 + * primary.cc (skip_ref_groups): New function. + (inferred_type_chain_ok): New function. + (gfc_match_varspec): Use it to choose among the candidate types of + an inferred-type associate name. + * resolve.cc (fixup_inferred_component_array_ref): Turn a substring + into an array section when the component is a rank-1 array. + * symbol.cc (find_derived_types): Walk the symtree in order. + 2026-10-28 Jerry DeLisle <[email protected]> PR fortran/128144 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4ed30e3b360c..4583075b2904 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,104 @@ +2026-10-29 John David Anglin <[email protected]> + + Revert: + 2026-10-27 John David Anglin <[email protected]> + + * g++.dg/gomp/deprecate-1.C: Restrict the final literal multiline + verification block to non-hppa targets, and append trailing + dg-regexp directives to consume the unhashed diagnostic caret + fragments on hppa targets. + +2026-10-29 Uros Bizjak <[email protected]> + + PR target/128271 + * gcc.target/i386/pr128271-1.c: New test. + * gcc.target/i386/pr128271-2.c: Ditto. + +2026-10-29 Jerry DeLisle <[email protected]> + + PR fortran/126968 + * gfortran.dg/associate_93.f90: Rename the guessed types so that + they are tried first. + * gfortran.dg/associate_97.f90: New test. + +2026-10-29 Paul-Antoine Arras <[email protected]> + + * gcc.dg/tree-ssa/ivopts-reg-units-1.c: New test. + * gcc.target/gcn/ivopts-reg-units-1.c: New test. + +2026-10-29 Paul-Antoine Arras <[email protected]> + + * gcc.target/gcn/ivopts-reg-budget-1.c: New test. + +2026-10-29 Tamar Christina <[email protected]> + Alfie Richards <[email protected]> + + PR tree-optimization/128028 + * gcc.dg/vect/vect-early-break-pr128028-unlimited.c: New test. + * gcc.dg/vect/vect-early-break-pr128028.c: New test. + +2026-10-29 Richard Biener <[email protected]> + + PR tree-optimization/128277 + * gcc.dg/tree-ssa/loop-25.c: Adjust. + +2026-10-29 Jose E. Marchesi <[email protected]> + + * algol68/execute/pow-real-1.a68: Update test. + * algol68/compile/pow-long-long-real-long-long-int-1.a68: New + test. + * algol68/compile/pow-long-real-long-int-1.a68: Likewise. + +2026-10-29 liuhongt <[email protected]> + + * gcc.target/i386/vect-exact-div-pow2.c: New test. + +2026-10-29 wangzicong <[email protected]> + + * gcc.target/i386/vect-outer-scalar-cost-1.c: New test. + +2026-10-29 Haochen Jiang <[email protected]> + + PR target/127459 + * gcc.target/i386/pr127459-1a.c: New test. + * gcc.target/i386/pr127459-1b.c: Ditto. + +2026-10-29 Uros Bizjak <[email protected]> + + PR target/122382 + * gcc.target/i386/pr122382.c: New test. + * gcc.target/i386/pr122382-1.c: Likewise. + * gcc.target/i386/pr122382-1a.c: Likewise. + * gcc.target/i386/pr122382-2.c: Likewise. + * gcc.target/i386/pr122382-2a.c: Likewise. + * gcc.target/i386/pr122382-3.c: Likewise. + * gcc.target/i386/pr122382-4.c: Likewise. + * gcc.target/i386/pr122382-5.c: Likewise. + * gcc.target/i386/pr122382-6.c: Likewise. + * gcc.target/i386/pr122382.h: New file. + +2026-10-29 Ondřej Machota <[email protected]> + + * g++.dg/tree-ssa/dce-2.C: New test. + * g++.dg/tree-ssa/dce-3.C: New test. + * gcc.dg/tree-ssa/malloc-dce-1.c: New test. + * gcc.dg/tree-ssa/malloc-dce-2.c: New test. + +2026-10-29 Michael Meissner <[email protected]> + + PR target/117251 + * gcc.target/powerpc/p10-vector-fused-1.c: New test. + * gcc.target/powerpc/p10-vector-fused-2.c: Likewise. + +2026-10-29 Philipp Tomsich <[email protected]> + Konstantinos Eleftheriou <[email protected]> + + PR tree-optimization/128117 + * gcc.dg/tree-ssa/long-mul-ladder.c: Add full_mul_ladder_comm, + mulh_ladder_square and full_mul_ladder_square, and update the fold + counts. + * gcc.dg/tree-ssa/pr128117.c: New test. + 2026-10-29 Jerry DeLisle <[email protected]> PR fortran/127063 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index ac6689faaa2c..d9f9a310bc6e 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2026-10-29 Andrew Stubbs <[email protected]> + + * plugin/plugin-gcn.c (drain_queue): Execute placeholder entries + with the queue lock held. + 2026-10-27 Tobias Burnus <[email protected]> * fortran.c (omp_get_gprivate_limit_): Add. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 955399d1c867..ed97daefe6bf 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,36 @@ +2026-10-29 Jonathan Wakely <[email protected]> + + PR libstdc++/128264 + * src/c++17/memory_resource.cc (_Pool::replenish): Rethrow + exception. + (_Pool::vector::insert): Use named variables for new capacity. + For initial allocation only set capacity if allocation succeeds. + * testsuite/20_util/unsynchronized_pool_resource/128264.cc: New + test. + +2026-10-29 Jonathan Wakely <[email protected]> + + * include/bits/stl_bvector.h (_M_check_and_initialize): New + function. + (vector(size_type, const bool&, const allocator_type&)) + (vector(from_range_t, R&&, const Alloc&)) + (_M_initialize_dispatch, _M_initialize_range): Use new function + instead of _M_initialize. + (_M_initialize): Add debug assertion. + * testsuite/23_containers/vector/bool/prX.cc: New test. + +2026-10-29 Jonathan Wakely <[email protected]> + + * src/c++20/tzdb.cc (tzdb::locate_zone): Adjust exception text + to say "time zone". + * testsuite/std/time/tzdb/links.cc: Adjust expected exception + text. + +2026-10-29 Jonathan Wakely <[email protected]> + + * include/parallel/search.h (__search_template): Increase array + size. + 2026-10-28 Tomasz Kamiński <[email protected]> * include/std/inplace_vector (inplace_vector::_S_check_size)
