https://gcc.gnu.org/g:7ae37a76b3274e8adf0a15171008d4eb89910535
commit r17-5495-g7ae37a76b3274e8adf0a15171008d4eb89910535 Author: GCC Administrator <[email protected]> Date: Fri Oct 23 00:16:38 2026 +0000 Daily bump. Diff: --- ChangeLog | 7 +++ config/ChangeLog | 4 ++ gcc/ChangeLog | 155 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 32 ++++++++++ gcc/cp/ChangeLog | 5 ++ gcc/d/ChangeLog | 12 ++++ gcc/fortran/ChangeLog | 20 +++++++ gcc/testsuite/ChangeLog | 81 +++++++++++++++++++++++++ libgfortran/ChangeLog | 27 +++++++++ libstdc++-v3/ChangeLog | 6 ++ 11 files changed, 350 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index faf3430838f9..9b201984708a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2026-10-22 LIU Hao <[email protected]> + Zhongteng Gui <[email protected]> + + PR middle-end/108300 + * libgo/misc/cgo/test/callback_c.c: Define `WIN32_LEAN_AND_MEAN` + before <windows.h>. + 2026-10-21 Kyrylo Tkachov <[email protected]> PR bootstrap/112422 diff --git a/config/ChangeLog b/config/ChangeLog index 81a91fde4209..52197c74bbcf 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2026-10-22 Pietro Monteiro <[email protected]> + + * pkg.m4 (PKG_CHECK_MODULES): Replace AC_TRY_LINK with AC_LINK_IFELSE. + 2026-10-20 Zhongteng Gui <[email protected]> PR lto/115300 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 677ce44e26cf..04f94787344e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,158 @@ +2026-10-22 Kael Andrew Alonzo Franco <[email protected]> + + PR tree-optimization/128045 + * match.pd: Remove SSA_NAME check. + +2026-10-22 Peter Damianov <[email protected]> + + * config/i386/mingw-w64.h (STARTFILE_SPEC): Link CRT_fp4.o, + CRT_fp8.o or CRT_fp10.o for -mpc32, -mpc64 or -mpc80. + * doc/invoke.texi (x86 Options): Describe -mpc32, -mpc64 and + -mpc80 on MinGW targets. + +2026-10-22 Robin Dapp <[email protected]> + + PR middle-end/125390 + * expmed.cc (extract_bit_field_1): Call new functions. + (extract_vector_from_vector): New function. + (extract_element_from_vector): Likewise. + (extract_vector_from_multireg): Likewise. + +2026-10-22 Robin Dapp <[email protected]> + + * lra-constraints.cc (get_dependent_filter): Handle subregs + properly. + * ira-lives.cc (process_dependent_filters): Don't look through + subregs. + +2026-10-22 Robin Dapp <[email protected]> + + * tree-vect-loop.cc (vect_estimate_min_profitable_iters): Adjust + niter assumption costing. + +2026-10-22 Robin Dapp <[email protected]> + + PR tree-optimization/121908 + * tree-vect-data-refs.cc (vect_find_stmt_data_reference): + Allow non-wrapping DR analysis. + * tree-vect-loop.cc (vect_analyze_loop_form): Defer assumption + checking. + (vect_get_loop_datarefs): New function. + (vect_build_assumptions): New function. + (vect_analyze_loop): Use new functions. + * tree-vectorizer.h (struct vect_loop_form_info): Add BB param. + +2026-10-22 Robin Dapp <[email protected]> + + * tree-data-ref.cc (dr_analyze_innermost): Add nowrap-bound param. + (dr_analyze_indices): Likewise. + (create_data_ref): Likewise. + (find_data_references_in_stmt): Add record_nowrap_assumptions + param. + * tree-data-ref.h (struct data_reference): Add nowrap_bound. + (DR_NOWRAP_BOUND): New. + (dr_analyze_innermost): Pass on nowrap_bound. + (find_data_references_in_stmt): Likewise. + +2026-10-22 Robin Dapp <[email protected]> + + * tree-chrec.cc (convert_affine_scev): Add nowrap_bound param. + (chrec_convert_rhs): Ditto. + (chrec_convert_1): Ditto. + (chrec_convert): Ditto. + * tree-chrec.h (chrec_convert): Ditto. + (chrec_convert_rhs): Ditto. + (convert_affine_scev): Ditto. + * tree-scalar-evolution.cc (analyze_scalar_evolution_1): Ditto. + (analyze_scalar_evolution_for_address_of): Ditto. + (struct scev_info_str): Add nowrap_assumed. + (new_scev_info_str): Ditto. + (scev_info_hasher::hash): Ditto. + (scev_info_hasher::equal): Ditto. + (find_var_scev_info): Ditto. + (scev_combine_nowrap_bound): New function to accumulate bounds. + (set_scalar_evolution): Add nowrap_bound param. + (get_scalar_evolution): Ditto. + (simplify_peeled_chrec): Ditto. + (analyze_evolution_in_loop): Ditto. + (interpret_loop_phi): Ditto. + (interpret_condition_phi): Ditto. + (interpret_rhs_expr): Ditto. + (interpret_expr): Ditto. + (interpret_gimple_assign): Ditto. + (analyze_scalar_evolution): Ditto. + (analyze_scalar_evolution_in_loop): Ditto. + (simple_iv_with_niters): Add allow_wrapping. + (simple_iv): Ditto. + * tree-scalar-evolution.h (analyze_scalar_evolution): Add new + param. + (simple_iv_with_niters): Ditto. + (scev_combine_nowrap_bound): Declare. + * tree-ssa-loop-niter.cc (scev_probably_wraps_p): Build no-wrap + bound. + * tree-ssa-loop-niter.h (scev_probably_wraps_p): Add param. + * tree-ssa-loop.h (struct affine_iv): Add nowrap_bound. + +2026-10-22 Robin Dapp <[email protected]> + + * tree-scalar-evolution.cc (derive_simple_iv_with_niters): Use + new function. + * tree-ssa-loop-niter.cc (loop_exits_before_overflow): Use new + function. + (get_niter_type_bound): New function. + * tree-ssa-loop-niter.h (get_niter_type_bound): Declare. + +2026-10-22 Avinash Jayakar <[email protected]> + + * config/rs6000/crypto.md (UNSPEC_DMSHA2HASH): New unspec entry. + (UNSPEC_DMSHA256HASH): Likewise. + (UNSPEC_DMSHA512HASH): Likewise. + (UNSPEC_DMXXSHAPAD): Likewise. + (UNSPEC_DMXXSHA3512PAD): Likewise. + (UNSPEC_DMXXSHA3384PAD): Likewise. + (UNSPEC_DMXXSHA3256PAD): Likewise. + (UNSPEC_DMXXSHA3224PAD): Likewise. + (UNSPEC_DMXXSHAKE256PAD): Likewise. + (UNSPEC_DMXXSHAKE128PAD): Likewise. + (UNSPEC_DMXXSHA384512PAD): Likewise. + (UNSPEC_DMXXSHA224256PAD): Likewise. + (SHA2_code): Iterator for sha2 extended mnemonics. + (SHA2_insn): Attribute for sha2 extended mnemonics. + (SHAPAD_code): Iterator for sha3/shake padding extended mnemonics. + (SHAPAD_insn): Attribute for sha3/shake padding extended mnemonics. + (SHA2PAD_code): Iterator for sha2 padding extended mnemonics. + (SHA2PAD_insn): Attribute for sha2 padding extended mnemonics. + (dmsha2hash): New define_insn for base sha2. + (<SHA2_insn>): New define_insn for sha2 extended mnemonics. + (dmshapad): New define_insn for base shapad. + (<SHAPAD_insn>): New define_insn for sha3/shake padding extended + mnemonics. + (<SHA2PAD_insn>): New define_insn for sha2 padding extended mnemonics. + * config/rs6000/rs6000-builtin.cc (rs6000_expand_builtin): Error + handling for shapad builtin arguments. + * config/rs6000/rs6000-builtins.def: Add new builtin definitions for + SHA2/3. + * doc/extend.texi: Document the added builtins. + +2026-10-22 Shreesh Adiga <[email protected]> + + * config/i386/i386-expand.cc (ix86_expand_crc_using_pclmul): + Modified to allow 64-bit CRC. + (ix86_expand_reversed_crc_using_pclmul): Likewise. + * config/i386/i386.md (crc<SWI248x:mode><SWI24:mode>4): Renamed + the second iterator to allow 64-bit CRC. + (crc<SWI1248x:mode><SWI248x:mode>4): Likewise. + (crc_rev<SWI1248x:mode><SWI24:mode>4): Likewise. + (crc_rev<SWI1248x:mode><SWI248x:mode>4): Likewise. + * expr.cc (gf2n_poly_long_div_quotient): Relaxed assert to allow + computing lower 64-bit of quotient for 64-bit CRC. + +2026-10-22 Avinash Jayakar <[email protected]> + + PR target/119468 + * config/rs6000/rs6000.cc (rs6000_emit_parity): Add code to generate + popcntd if available. + 2026-10-21 Milan Tripkovic <[email protected]> PR rtl-optimization/123905 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 79adab482f96..b5ec25791d65 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20261022 +20261023 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 069939a3c07b..49e133aba53e 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,35 @@ +2026-10-22 Eric Botcazou <[email protected]> + + PR ada/128044 + * sem_ch12.adb (Save_Global_References.Reset_Entity): Remove old + kludge short-circuiting the resolution of expanded names. + +2026-10-22 Guillaume Gomez <[email protected]> + + * gcc-interface/Make-lang.in: Add compilation of `attr-handlers.c` in + Ada front-end. + * gcc-interface/utils.cc (handle_novops_attribute) + (handle_noinline_attribute, handle_always_inline_attribute) + (handle_type_generic_attribute, handle_used_attribute) + (handle_target_attribute): Remove functions provided by + `attr-handlers.c`. + (ada_handle_const_attribute, ada_handle_nothrow_attribute) + (ada_handle_expected_throw_attribute, ada_handle_pure_attribute) + (ada_handle_nonnull_attribute, ada_handle_sentinel_attribute) + (ada_handle_noreturn_attribute, ada_handle_stack_protect_attribute) + (ada_handle_no_stack_protector_attribute, ada_handle_strub_attribute) + (ada_handle_noclone_attribute, ada_handle_noicf_attribute) + (ada_handle_noipa_attribute, ada_handle_leaf_attribute) + (ada_handle_malloc_attribute, ada_handle_flatten_attribute) + (ada_handle_uninitialized_attribute, ada_handle_cold_attribute) + (ada_handle_hot_attribute, ada_handle_simd_attribute) + (ada_handle_target_clones_attribute, ada_handle_vector_size_attribute) + (ada_handle_vector_type_attribute) + (ada_handle_zero_call_used_regs_attribute): Rename from `handle_*` to + `ada_handle_*` to avoid conflicts with the functions declared in + `attr-handlers.h`. + (gnat_internal_attributes): Update accordingly. + 2026-10-21 Eric Botcazou <[email protected]> PR ada/18762 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 06a34946cfb5..e31b3b601e3b 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2026-10-22 Nathan Sidwell <[email protected]> + + * decl.cc (merge_attribute_bits): Propagate DECL_NO_LIMIT_STACK, + DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_IS_NOVOPS. + 2026-10-21 Jakub Jelinek <[email protected]> PR c++/127766 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index c8d024aeb73d..f81f8b93bea8 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,15 @@ +2026-10-22 Guillaume Gomez <[email protected]> + + * Make-lang.in: Add compilation of `attr-handlers.c` in + D front-end. + * d-attribs.cc (handle_leaf_attribute) (handle_const_attribute) + (handle_pure_attribute) (handle_novops_attribute) + (handle_nothrow_attribute) (handle_type_generic_attribute) + (handle_returns_twice_attribute) (handle_fnspec_attribute) + (d_handle_noinline_attribute) (d_handle_used_attribute) + (d_handle_simd_attribute): Remove the functions provided by + `attr-handlers.c`. + 2026-09-08 Kael Andrew Alonzo Franco <[email protected]> PR middle-end/126622 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 198770e60d50..cdf0c1bb9ba8 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,23 @@ +2026-10-22 Paul Thomas <[email protected]> + + PR fortran/82173 + * trans-array.cc (structure_alloc_comps): CHECK_PDT_INTENT_OUT_ + DUMMY added to enum and flag 'intent_out' set. If any of - + 'intent_out' is false, the component has a codimension, is a + pointer, is a parmeterized kind, a KIND or LEN parameter, does + not have an initializer then continue through the components. + Otherwise, convert the initializer and set the component for + constants, array constructors or structure constructors. + (gfc_check_pdt_dummy): Incorporate a new argument 'intent_out'; + use it to switch to the above path in structure_alloc_comps. + * trans-array.h : Add the new argument to the prototype of + gfc_check_pdt_dummy. + * trans-decl.cc (gfc_get_symbol_decl): gfc_defer_symbol_init is + now called for intent_out dummies. + (gfc_trans_deferred_vars): Call gfc_check_pdt_dummy with the + new argument set. For optional arguments, gfc_conv_expr_present + is used to apply a condition to the gfc_check_pdt_dummy result. + 2026-10-20 Harald Anlauf <[email protected]> PR fortran/127892 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ca8cca84a42f..bb27eec5f2ec 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,84 @@ +2026-10-22 Jerry DeLisle <[email protected]> + + PR libfortran/127973 + * gfortran.dg/coarray/collective_pool_exhausted_1.f90: New test. + +2026-10-22 Eric Botcazou <[email protected]> + + * gnat.dg/specs/generic_inst11.ads: New test. + * gnat.dg/specs/generic_inst11_pkg.ads: New helper package. + * gnat.dg/specs/generic_inst11_pkg-g1.ads: Likewise. + * gnat.dg/specs/generic_inst11_pkg-g1-parser.ads: Likewise. + * gnat.dg/specs/generic_inst11_pkg-g1-parser-g2.ads: Likewise. + * gnat.dg/specs/generic_inst11_pkg-g1-parser-g2-parser.ads: Likewise + +2026-10-22 Zhongteng Gui <[email protected]> + + PR middle-end/108300 + * g++.dg/asan/sanitizer_test_utils.h: Define + `WIN32_LEAN_AND_MEAN` before <windows.h>. + * gcc.dg/di-sync-multithread.c: Likewise. + * objc-obj-c++-shared/GNUStep/GNUstepBase/GSConfig.h: Likewise. + +2026-10-22 Paul Thomas <[email protected]> + + PR fortran/82173 + * gfortran.dg/pdt_bug12.f90: New test. + +2026-10-22 Robin Dapp <[email protected]> + + PR middle-end/125390 + * gcc.target/riscv/rvv/autovec/pr125390.c: Adjust test + expectation. + +2026-10-22 Robin Dapp <[email protected]> + + PR tree-optimization/121908 + * gcc.dg/tree-prof/update-loopch.c: Disable vectorization. + * gcc.dg/tree-ssa/scev-12.c: Ditto. + * gcc.dg/tree-ssa/scev-8.c: Ditto. + * gcc.target/aarch64/sve2/niter-convert-range.c: Expect one more + dump instance. + * gcc.dg/vect/vect-unsigned-assump-1.c: New test. + * gcc.dg/vect/vect-unsigned-assump-2.c: New test. + * gcc.dg/vect/vect-unsigned-assump-3.c: New test. + * gcc.dg/vect/vect-unsigned-assump-4.c: New test. + * gcc.dg/vect/vect-unsigned-assump-5.c: New test. + * gcc.dg/vect/vect-unsigned-assump-6.c: New test. + * gcc.dg/vect/vect-unsigned-assump-7.c: New test. + * gcc.dg/vect/vect-unsigned-assump-8.c: New test. + +2026-10-22 Avinash Jayakar <[email protected]> + + * gcc.target/powerpc/sha-builtins-1.c: New test. + * gcc.target/powerpc/sha-builtins-2.c: New test. + * gcc.target/powerpc/sha-builtins-3.c: New test. + * gcc.target/powerpc/sha-builtins-4.c: New test. + +2026-10-22 Shreesh Adiga <[email protected]> + + * gcc.dg/torture/crc-34.c: New test. + * gcc.dg/torture/crc-35.c: New test. + * gcc.dg/torture/crc-36.c: New test. + * gcc.dg/torture/crc-37.c: New test. + * gcc.dg/torture/crc-38.c: New test. + * gcc.dg/torture/crc-39.c: New test. + * gcc.dg/torture/crc-40.c: New test. + * gcc.dg/torture/crc-41.c: New test. + * gcc.target/i386/crc-34-pclmul.c: New test. + * gcc.target/i386/crc-35-pclmul.c: New test. + * gcc.target/i386/crc-36-pclmul.c: New test. + * gcc.target/i386/crc-37-pclmul.c: New test. + * gcc.target/i386/crc-38-pclmul.c: New test. + * gcc.target/i386/crc-39-pclmul.c: New test. + * gcc.target/i386/crc-40-pclmul.c: New test. + * gcc.target/i386/crc-41-pclmul.c: New test. + +2026-10-22 Avinash Jayakar <[email protected]> + + PR target/119468 + * gcc.target/powerpc/pr119468.c: New test. + 2026-10-21 Milan Tripkovic <[email protected]> PR rtl-optimization/123905 diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index a065618b6c02..6ef216bd4dcd 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,30 @@ +2026-10-22 Jerry DeLisle <[email protected]> + + PR libfortran/127973 + * caf/shmem.c (report_collective): New function. + (_gfortran_caf_co_broadcast, _gfortran_caf_co_sum) + (_gfortran_caf_co_min, _gfortran_caf_co_max) + (_gfortran_caf_co_reduce): Use it. + * caf/shmem/collective_subroutine.c (collsub_init_supervisor): + Initialize alloc_failed. + (get_collsub_buf): Return false instead of terminating when the + buffer cannot be grown. Take the allocator lock. + (collsub_no_memory): New function. + (collsub_reduce_array, collsub_broadcast_array): Return a + collsub_result. Use collsub_no_memory. + * caf/shmem/collective_subroutine.h (struct collsub_shared): Add + alloc_failed. + (collsub_result): New enum. + (collsub_broadcast_array, collsub_reduce_array): Return it. + +2026-10-22 Zhongteng Gui <[email protected]> + + PR middle-end/108300 + * caf/shmem/shared_memory.c: Define `WIN32_LEAN_AND_MEAN` before + <windows.h>. + * caf/shmem/supervisor.c: Likewise. + * caf/shmem/thread_support.c: Likewise. + 2026-10-18 Jerry DeLisle <[email protected]> PR libfortran/127738 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index afa89da8c0be..feb47d91bf13 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2026-10-22 Zhongteng Gui <[email protected]> + + PR middle-end/108300 + * src/c++23/print.cc: Define `WIN32_LEAN_AND_MEAN` before + <windows.h>. + 2026-10-20 Jonathan Wakely <[email protected]> PR libstdc++/127476
