https://gcc.gnu.org/g:6a3290248ed244f9e5c06c9b95115c067a8c5164
commit r17-5421-g6a3290248ed244f9e5c06c9b95115c067a8c5164 Author: GCC Administrator <[email protected]> Date: Wed Oct 21 00:16:50 2026 +0000 Daily bump. Diff: --- ChangeLog | 7 +++ c++tools/ChangeLog | 4 ++ config/ChangeLog | 12 ++++ gcc/ChangeLog | 164 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cobol/ChangeLog | 5 ++ gcc/cp/ChangeLog | 10 +++ gcc/fortran/ChangeLog | 68 ++++++++++++++++++++ gcc/jit/ChangeLog | 18 ++++++ gcc/testsuite/ChangeLog | 141 +++++++++++++++++++++++++++++++++++++++++ libbacktrace/ChangeLog | 12 ++++ libgcobol/ChangeLog | 5 ++ libssp/ChangeLog | 7 +++ libstdc++-v3/ChangeLog | 6 ++ 14 files changed, 460 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8683a6da79f4..c0a3323a1bc3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2026-10-20 Achim Gratz <[email protected]> + Zhongteng Gui <[email protected]> + + * configure.ac (jit): Don't disable jit for Cygwin without + -enable-host-shared, like MinGW. + * configure: Regenerate. + 2026-10-19 Tamar Christina <[email protected]> PR bootstrap/127376 diff --git a/c++tools/ChangeLog b/c++tools/ChangeLog index d7f2cb9600c0..7fe87cb48dfc 100644 --- a/c++tools/ChangeLog +++ b/c++tools/ChangeLog @@ -1,3 +1,7 @@ +2026-10-20 Zhongteng Gui <[email protected]> + + * resolver.cc: Directly #include <stdlib.h> for malloc & free. + 2026-06-29 Pietro Monteiro <[email protected]> PR bootstrap/103459 diff --git a/config/ChangeLog b/config/ChangeLog index 4dbb2eb0b61a..81a91fde4209 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,15 @@ +2026-10-20 Zhongteng Gui <[email protected]> + + PR lto/115300 + * bootstrap-lto-lean.mk (STAGE3_CFLAGS): Add -ffat-lto-objects for + mingw targets. + (STAGEfeedback_CFLAGS): Likewise. + +2026-10-20 Torbjörn SVENSSON <[email protected]> + + * zstd.m4 (AC_ZSTD): Set up zstd options and check the library + and header. + 2026-10-17 Sam James <[email protected]> * ax_check_define.m4: Update to serial 12. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f994a7fc9099..c74530ca8d81 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,167 @@ +2026-10-20 Zhongteng Gui <[email protected]> + + PR lto/115300 + * config/i386/x-mingw32: Avoid exporting compiler-internal symbols + from frontends without a plugin API. Add -fno-lto when linking + cc1 and cc1plus with fat LTO objects. + +2026-10-20 Igor Shevlyakov <[email protected]> + + * match.pd (signbit (x) cmp signbit (y) ? y : -y): New + simplification. + +2026-10-20 Kyrylo Tkachov <[email protected]> + + * config/aarch64/aarch64.cc + (aarch64_ccmp_first_preference): New function. + (TARGET_CCMP_FIRST_PREFERENCE): Define. + * coretypes.h (ccmp_first_kind): New enum. + * doc/tm.texi: Regenerate. + * doc/tm.texi.in (TARGET_CCMP_FIRST_PREFERENCE): Add hook. + * target.def (ccmp_first_preference): New hook. + * targhooks.cc (default_ccmp_first_preference): New function. + * targhooks.h (default_ccmp_first_preference): Declare. + * tree-ssa-reassoc.cc (ccmp_first_preference): New function. + (prepare_ccmp_chain): Use it to select one head. Reject unsupported + comparisons and multiple required heads. + +2026-10-20 Richard Biener <[email protected]> + + PR tree-optimization/127978 + * tree-vect-stmts.cc (vectorizable_simd_clone_call): Simplify + vector CTOR filling accounting. + +2026-10-20 Richard Biener <[email protected]> + + PR lto/127922 + * tree.cc (type_with_interoperable_signedness): Return true + for BITINT_TYPE. + * gimple.cc (gimple_signed_or_unsigned_type): Properly + handle BITINT_TYPE. + (gimple_get_alias_set): Add comment about signed/unsigned + BITINT_TYPE. + +2026-10-20 Richard Biener <[email protected]> + + PR tree-optimization/128014 + * tree-vect-loop.cc (vectorizable_live_operation): Also + insert extracts from external vector defs on region entry. + +2026-10-20 Jakub Jelinek <[email protected]> + + PR c++/127685 + * gimple-range-fold.cc + (ctor_ref_range::accumulate_range_from_component_ref): Workaround + for the case where the fld FIELD_DECL isn't from the same aggregate + type as the CONSTRUCTOR, but a canonically compatible one - fallback + to bit offset/size comparisons. + +2026-10-20 Jakub Jelinek <[email protected]> + + PR tree-optimization/128003 + * tree-switch-conversion.cc (jump_table_cluster::emit): Cast to + unsigned_type_for whenever !TYPE_UNSIGNED rather than when + !TYPE_OVERFLOW_WRAPS. + +2026-10-20 Jakub Jelinek <[email protected]> + + PR rtl-optimization/127983 + * cse.cc (struct cse_vec_duplicate_match): Add last_checked_insn, + initialize it in both constructors. Formatting fix. + (cse_prescan_cache_vec_dup): Check common subconditions between + if and else if once. Also give up if entry.last_checked_insn + is NULL. If scalar is set in between last_checked_insn and + insn, clear last_checked_insn and don't record a dup, otherwise + update last_checked_insn. Adjust new_entry construction. + (cse_main): Reindent the vec_duplicate_match code. + +2026-10-20 Jakub Jelinek <[email protected]> + + PR tree-optimization/127965 + * gimple-isel.cc (optimize_atomic_bit_test_and): For the + < 0 and >= 0 cases, punt if TREE_TYPE (use_lhs) is unsigned. + Compute ibit from TYPE_PRECISION of TREE_TYPE (use_lhs) + rather than TYPE_SIZE_UNIT of TREE_TYPE (use_rhs). Fix comment + pastos and other nits. Formatting fix. + (gimple_isel_builtin_call): Formatting fix. + +2026-10-20 Jakub Jelinek <[email protected]> + + PR tree-optimization/127905 + * gimple-lower-bitint.cc (gimple_lower_bitint): Don't add to + m_single_use_names versions of SSA_NAMEs where their single use + is within a different loop from the definition (or if use is + in irreducible loop, in a different bb than def). + +2026-10-20 Richard Biener <[email protected]> + + PR tree-optimization/128013 + * tree-vect-slp.cc (vect_build_slp_tree_3): Exclude existing + vector defs that take part in abnormal coalescing. + +2026-10-20 Kyrylo Tkachov <[email protected]> + + * tree-ssa-forwprop.cc (simplify_count_zeroes): If the table entry + for zero does not survive the computation in int, select it in the + type of the table after the conversion. + +2026-10-20 Kyrylo Tkachov <[email protected]> + + PR tree-optimization/111280 + * doc/ifn.texi (IFN_CLZ, IFN_CTZ): Document the second argument + for scalar and vector calls. + * internal-fn.cc (expand_bitquery): Use both arguments to fold a + two-argument .CLZ or .CTZ of a constant. + (expand_clz_ctz): New function. + (expand_CLZ, expand_CTZ): Use it. + +2026-10-20 Richard Biener <[email protected]> + + PR tree-optimization/128006 + * tree-ssa-reassoc.cc (stmt_is_power_of_op): Require a + constant integer exponent. + +2026-10-20 Richard Biener <[email protected]> + + PR tree-optimization/128008 + * gimple-ssa-pta-constraints.cc (create_variable_info_for_1): + Upon detecting recursion to the same structure type add + a constraint from nonlocal. + +2026-10-20 liuhongt <[email protected]> + + * config/i386/i386.cc (ix86_vector_costs::add_stmt_cost): Use + mulss for the widening multiplies of VnDI MULT_HIGHPART_EXPR and + CFN_MULH, and apply ix86_vec_cost to the whole cost. + +2026-10-20 Jakub Jelinek <[email protected]> + + PR target/128015 + * config/i386/sgxintrin.h (__enclv_generic): Fix a typo. + +2026-10-20 Torbjörn SVENSSON <[email protected]> + + * aclocal.m4: Regenerate. + * config.in: Regenerate. + +2026-10-20 Torbjörn SVENSSON <[email protected]> + + * aclocal.m4: Add includes for pkg.m4 and zstd.m4. + * configure: Regenerate. + * configure.ac: Use AC_ZSTD and define HAVE_ZSTD_H when enabled. + * Makefile.in: Use @ZSTD_CFLAGS@ and @ZSTD_LIBS@. + +2026-10-20 Max Filippov <[email protected]> + + * config/xtensa/xtensa.md (movdf_internal): Fix condition when + splitting is not performed. Replace output patterns for + alternatives that must be split with '#' for better diagnostic. + +2026-10-20 Andrew MacLeod <[email protected]> + + * value-range.h (prange::set_pt_unknown): If the result is varying + compatible set the kind to VR_VARYING. + 2026-10-19 Trevor Saunders <[email protected]> * resource.cc (return_insn_p): Take a const rtx_insn *. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 39b2052b5cc9..0d25cc7575f6 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20261020 +20261021 diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index 76ad2dd6cf74..087a35a24a68 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,8 @@ +2026-10-20 Robert Dubner <[email protected]> + + * gcobolspec.cc (lang_specific_driver): Set need_libposix to false + when there are no input files. + 2026-10-19 Robert Dubner <[email protected]> * gcobolspec.cc (lang_specific_driver): Adjust the generation of diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e7425e0cc456..2dff30e91919 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,13 @@ +2026-10-20 Shubham Nayak <[email protected]> + + PR c++/87638 + PR c++/90789 + PR c++/95069 + PR c++/104411 + PR c++/115471 + * lambda.cc (add_capture): Remove redundant + !lvalue_p check on reference captures. + 2026-10-19 Marek Polacek <[email protected]> PR c++/126680 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 059abc9f5872..198770e60d50 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,71 @@ +2026-10-20 Harald Anlauf <[email protected]> + + PR fortran/127892 + * expr.cc (gfc_copy_expr): Ensure that the result representation + length is the same as that of the source. + * gfortran.h (gfc_char_to_widechar): Adjust prototype. + * scanner.cc (gfc_char_to_widechar): Add optional argument for + the result representation length, instead of deriving it from the + string argument. + +2026-10-20 Paul Thomas <[email protected]> + + PR fortran/82173 + * expr.cc (gfc_check_pointer_assign): As well as rvalue being + expr_NULL, it must not have a symtree, aring from an interface, + to return true. + +2026-10-20 Tobias Burnus <[email protected]> + + PR fortran/128032 + PR fortran/127995 + * module.cc (mio_omp_declare_simd_clauses): {} initialize a var. + * openmp.cc (resolve_omp_clauses): Fix safelen >= simdlen + const-scalar-int-ness check. + +2026-10-20 Paul Thomas <[email protected]> + + PR fortran/82173 + * trans-io.cc (nml_get_addr_expr): Remove nops from the data + pointer. + (transfer_namelist_element): Pass descriptors of PDT arrays. + +2026-10-20 Paul Thomas <[email protected]> + + PR fortran/82173 + * match.cc (match_derived_type_spec): Null type_param_spec_list. + (gfc_match_allocate): Detect deferrable components; ie ordinary + allocatable arrays with deferred SHAPE and no type parameters, + so that 'saw_deferrable' and 'deferred_locus' can be set + appropriately. + +2026-10-20 Paul Thomas <[email protected]> + + PR fortran/82173 + * decl.cc (gfc_get_pdt_instance): Eliminate double !. + * expr.cc (gfc_check_pointer_assign): If rvalue is expr_NULL, + return true. + +2026-10-20 Paul Thomas <[email protected]> + assisted by Claude Haiku <[email protected]> + + PR fortran/82173 + * gfortran.h: Add param_list field to gfc_code allocate structure. + Add extern declaration for gfc_get_temp_from_expr wrapper. + * match.cc (gfc_match_class_is): Clear global type_param_spec_list + before matching derived type spec to prevent residual state corruption + in assumed parameter CLASS IS matching. Compute hash_value for CLASS + IS cases to prevent collisions. + * resolve.cc (resolve_allocate_expr): Add PDT instantiation from + allocate-typespec parameters. Skip vtab lookup for PDT templates + which don't have vtabs. Add macros for CLASS IS case comparison + to prevent double-definition errors. + * trans-stmt.cc: Add convert_structure_to_type_list and + build_param_list_from_expr functions for PDT parameter handling. + Update allocate_get_initializer to handle PDT types. Improve + gfc_trans_allocate to properly handle PDT initialization with + temporary deallocation. Add include for constructor.h. + 2026-10-19 Harald Anlauf <[email protected]> PR fortran/127881 diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 5f9e2f942726..4deca966888a 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,21 @@ +2026-10-20 Achim Gratz <[email protected]> + Zhongteng Gui <[email protected]> + + * Make-lang.in: Treat Cygwin like MinGW. + (SHARED_PFX): New variable, default to lib, set to cyg for + Cygwin targets. + +2026-10-20 Zhongteng Gui <[email protected]> + + PR lto/115300 + * Make-lang.in (LIBGCCJIT_DEF_FILE): New variable, dynamically + generated from libgccjit.exports. + (LIBGCCJIT_EXTRA_OPTS): Add LIBGCCJIT_DEF_FILE and disable + automatic exports. + (libgccjit): Add LIBGCCJIT_DEF_FILE to the link dependencies. + (jit.mostlyclean): Remove LIBGCCJIT_DEF_FILE and its temporary + file. + 2026-10-09 Zhongteng Gui <[email protected]> PR jit/125229 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 36cb33ed3136..63813ad07d62 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,144 @@ +2026-10-20 Paul Thomas <[email protected]> + + PR fortran/82173 + * gfortran.dg/interface_64.f90: New test. + +2026-10-20 Igor Shevlyakov <[email protected]> + + * gcc.dg/tree-ssa/copysign-signbit.c: New test. + +2026-10-20 Christopher Bazley <[email protected]> + + * gcc.target/aarch64/sve/slp_rev_32_1.c: New test. + * gcc.target/aarch64/sve/slp_rev_32_2.c: New test. + * gcc.target/aarch64/sve/slp_rev_32_3.c: New test. + +2026-10-20 Kyrylo Tkachov <[email protected]> + + * gcc.target/aarch64/ccmp_8.c: New test. + * gcc.target/aarch64/fccmp_4.c: Likewise. + * gcc.target/aarch64/fccmp_7.c: Likewise. + +2026-10-20 Tobias Burnus <[email protected]> + + PR c++/127734 + * c-c++-common/gomp/declare-variant-7.c: Add dg-bogus + xfail to + silence C++ fails. + +2026-10-20 Richard Biener <[email protected]> + + PR tree-optimization/127978 + * gcc.dg/vect/vect-simd-21.c: New testcase. + +2026-10-20 Richard Biener <[email protected]> + + PR lto/127922 + * gcc.dg/lto/bitint-lto-1_0.c: New testcase. + +2026-10-20 Richard Biener <[email protected]> + + PR tree-optimization/128014 + * gcc.dg/vect/bb-slp-pr128014.c: New testcase. + +2026-10-20 Paul Thomas <[email protected]> + + PR fortran/82173 + * gfortran.dg/pdt_bug18.f90: New test. + +2026-10-20 Paul Thomas <[email protected]> + + PR fortran/82173 + * gfortran.dg/pdt_bug14.f90: New test. + +2026-10-20 Paul Thomas <[email protected]> + + PR fortran/82173 + * gfortran.dg/pdt_bug13.f90: New test. + +2026-10-20 Jakub Jelinek <[email protected]> + + PR c++/127685 + * g++.dg/torture/pr127685.C: New test. + +2026-10-20 Jakub Jelinek <[email protected]> + + PR tree-optimization/128003 + * gcc.dg/torture/bitint-113.c: New test. + +2026-10-20 Jakub Jelinek <[email protected]> + + PR rtl-optimization/127983 + * gcc.target/i386/avx2-pr127983.c: New test. + +2026-10-20 Jakub Jelinek <[email protected]> + + PR tree-optimization/127965 + * gcc.dg/pr127965-1.c: New test. + * gcc.dg/pr127965-2.c: New test. + * gcc.target/i386/pr127965-1.c: New test. + * gcc.target/i386/pr127965-2.c: New test. + +2026-10-20 Jakub Jelinek <[email protected]> + + PR tree-optimization/127905 + * gcc.dg/torture/bitint-112.c: New test. + +2026-10-20 Richard Biener <[email protected]> + + PR tree-optimization/128013 + * gcc.dg/vect/bb-slp-pr128013.c: New testcase. + +2026-10-20 Kyrylo Tkachov <[email protected]> + + * gcc.dg/torture/clz-ctz-table-2.c: New test. + * gcc.dg/tree-ssa/clz-ctz-table-3.c: New test. + +2026-10-20 Kyrylo Tkachov <[email protected]> + + PR tree-optimization/111280 + * gcc.dg/torture/bitint-112.c: New test. + * gcc.dg/torture/clz-ctz-value-at-zero-1.c: New test. + * gcc.target/aarch64/clz-ctz-value-at-zero-1.c: New test. + * gcc.target/i386/clzg-target-clones-1.c: New test. + +2026-10-20 Richard Biener <[email protected]> + + PR tree-optimization/128006 + * gcc.dg/tree-ssa/reassoc-52.c: New test. + * gcc.dg/tree-ssa/reassoc-53.c: New test. + +2026-10-20 Richard Biener <[email protected]> + + PR tree-optimization/128008 + * gcc.dg/torture/pr128008.c: New testcase. + +2026-10-20 liuhongt <[email protected]> + + * gcc.target/i386/vect-umulv4di_high.c: Add -mtune=znver5. + * gcc.target/i386/vect-umulv4di_high-2.c: New test. + +2026-10-20 Jakub Jelinek <[email protected]> + + * g++.dg/opt/mem-notrap-load-builtin.C: Restore previous order + of scan-rtl-dump arguments. + +2026-10-20 Paul Thomas <[email protected]> + assisted by Claude Haiku <[email protected]> + + PR fortran/82173 + * gfortran.dg/pdt_bug9.f90: New test. + * gfortran.dg/pdt_bug10.f90: New test. + +2026-10-20 Shubham Nayak <[email protected]> + + PR c++/87638 + PR c++/90789 + PR c++/95069 + PR c++/104411 + PR c++/115471 + * g++.dg/cpp1y/lambda-init-const-ref.C: New test. + * g++.dg/cpp1y/lambda-init21.C: New test. + 2026-10-19 Marek Polacek <[email protected]> PR c++/126680 diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 6889bb7a499a..7c9c99fef029 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,15 @@ +2026-10-20 Torbjörn SVENSSON <[email protected]> + + * config.h.in: Regenerate. + +2026-10-20 Torbjörn SVENSSON <[email protected]> + + * aclocal.m4: Include pkg.m4 and zstd.m4. + * configure: Regenerate. + * configure.ac: Use AC_ZSTD for zstd detection. + * Makefile.am: Use the detected zstd flags. + * Makefile.in: Regenerate. + 2026-10-16 Pietro Monteiro <[email protected]> PR bootstrap/103459 diff --git a/libgcobol/ChangeLog b/libgcobol/ChangeLog index 819e0184c582..fc620684a306 100644 --- a/libgcobol/ChangeLog +++ b/libgcobol/ChangeLog @@ -1,3 +1,8 @@ +2026-10-20 Robert Dubner <[email protected]> + + * configure.ac: Make --disable-libgcobol-rpath the default. + * configure: Regenerate. + 2026-10-19 Robert Dubner <[email protected]> * Makefile.am: Incorporate new files. diff --git a/libssp/ChangeLog b/libssp/ChangeLog index 14def283983e..0499a4b5cf7a 100644 --- a/libssp/ChangeLog +++ b/libssp/ChangeLog @@ -1,3 +1,10 @@ +2026-10-20 Siddhesh Poyarekar <[email protected]> + + PR libgcc/109270 + * ssp/ssp.h.in [_FORTIFY_SOURCE > 2]: Set __SSP_FORTIFY_LEVEL to + 3 if compiler supports __builtin_dynamic_object_size. + [__SSP_FORTIFY_LEVEL > 2]: Use __builtin_dynamic_object_size. + 2026-10-17 Sam James <[email protected]> PR bootstrap/112422 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index bf535afb26dc..afa89da8c0be 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2026-10-20 Jonathan Wakely <[email protected]> + + PR libstdc++/127476 + * include/std/memory [!_GLIBCXX_HOSTED]: Do not include + bits/indirect.h. + 2026-10-18 Iain Sandoe <[email protected]> * testsuite/lib/libstdc++.exp: Remove STATIC_LIBCXXFLAGS, it is
