https://gcc.gnu.org/g:894a043dcb88c2da2d5139596a7dc51955cdaeb3
commit r17-7149-g894a043dcb88c2da2d5139596a7dc51955cdaeb3 Author: GCC Administrator <[email protected]> Date: Fri Dec 4 00:17:10 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 441 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/algol68/ChangeLog | 10 ++ gcc/analyzer/ChangeLog | 179 ++++++++++++++++++++ gcc/c-family/ChangeLog | 24 +++ gcc/cp/ChangeLog | 128 ++++++++++++++ gcc/fortran/ChangeLog | 4 + gcc/testsuite/ChangeLog | 261 ++++++++++++++++++++++++++++ libgcc/ChangeLog | 13 ++ libgfortran/ChangeLog | 8 + libgomp/ChangeLog | 230 +++++++++++++++++++++++++ libphobos/ChangeLog | 5 + libstdc++-v3/ChangeLog | 73 ++++++++ 13 files changed, 1377 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c0903c685f3a..2ffcab733917 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,444 @@ +2026-12-03 Vladimir N. Makarov <[email protected]> + + PR middle-end/128174 + * lra-constraints.cc (add_invariant): Don't add invariant unless + stack slots are shared. Add debug print. + +2026-12-03 Thomas Schwinge <[email protected]> + + * configure: Regenerate. + +2026-12-03 Jerry DeLisle <[email protected]> + + PR testsuite/128897 + * doc/sourcebuild.texi (Torture Tests): Document + GFORTRAN_TORTURE_OPTIONS and GFORTRAN_ABBREVIATED_TEST. + +2026-12-03 Torbjörn SVENSSON <[email protected]> + + PR target/124053 + * config/arm/arm.cc (arm_libgcc_floating_mode_supported_p): New. + (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): Define. + +2026-12-03 Robin Dapp <[email protected]> + + PR tree-optimization/128704 + * tree-vect-loop.cc (vect_get_datarefs_in_loop): Don't record + nowrap assumptions for inner loops. + +2026-12-03 Zhongteng Gui <[email protected]> + + * config/i386/mingw-w64.h (CPP_SPEC): Use MINGW32_CPP_SPEC. + * config/mingw/mingw32.h (CPP_SPEC): Move real content to + MINGW32_CPP_SPEC and define CPP_SPEC to it. + (MINGW32_CPP_SPEC): New variable. + +2026-12-03 Zhongteng Gui <[email protected]> + + * config/i386/mingw-w64.h (LIB_SPEC): Removed, already defined + identically in mingw/mingw32.h. + (SUB_LINK_ENTRY32): Likewise. + (SUB_LINK_ENTRY64): Likewise. + (LINK_SPEC_DISABLE_DYNAMICBASE): Likewise. + +2026-12-03 Zhongteng Gui <[email protected]> + + * config/mingw/mingw32.h (STARTFILE_SPEC): Always use *crt2.o. + +2026-12-03 Zhongteng Gui <[email protected]> + + * config/i386/x-mingw32-utf8 (MINGW_MANIFEST_EXES): New variable. + Use it to link the manifest resource into gcc-ar, gcc-nm, + gcc-ranlib, collect2, lto-wrapper, lto-dump, gcov, gcov-dump + and gcov-tool as well as the compiler executables. + +2026-12-03 Zhongteng Gui <[email protected]> + + * config.host: Stop adding the manifest object to + host_extra_objs for MinGW hosts. + * config/i386/x-mingw32-utf8: Link the manifest resource + directly into compiler executables. Remove the dummy symbol and + partial link rules. + * configure: Regenerate. + * configure.ac: Remove host_extra_objs_mingw. + * config/i386/sym-mingw32.cc: Removed. + +2026-12-03 Torbjörn SVENSSON <[email protected]> + + PR target/124328 + * config/arm/arm.cc (arm_hard_regno_mode_ok): Remove the + Thumb-2 even-register restriction for MVE and CDE. + * config/arm/constraints.md (Tr, Tl): New register constraints. + * config/arm/iterators.md (cde_constraint): New mode attribute. + * config/arm/arm.md (arm_cx1<mode>, arm_cx1a<mode>, + arm_cx2<mode>, arm_cx2a<mode>, arm_cx3<mode>, arm_cx3a<mode>): + Use cde_constraint for the destination. + * config/arm/mve.md: Use Tr and Tl where an even register + pair is required. + +2026-12-03 Kyrylo Tkachov <[email protected]> + + PR target/128913 + * config/aarch64/aarch64.cc (aarch64_expand_sve_const_pred_trn): + Encode A and B with at least 2 * PERMUTE_SIZE patterns. + +2026-12-03 Oleksandr Kulkov <[email protected]> + + PR ipa/95796 + * tree-inline.cc (tree_inlinable_function_p): Reject an unexpanded + target_clones function without caching the restriction. + +2026-12-03 vekumar <[email protected]> + + * tree.h (CASE_INTSZ_FN): New. + * builtins.cc (associated_internal_fn): Map the BSWAP and + BITREVERSE groups to IFN_BSWAP and IFN_BITREVERSE. Handle + BUILT_IN_BITREVERSE8 separately. + (expand_builtin, is_inexpensive_builtin): Use CASE_INTSZ_FN. + * tree-ssa-ccp.cc (evaluate_stmt): Likewise. + +2026-12-03 vekumar <[email protected]> + + * config/i386/i386-expand.cc (ix86_expand_bitreverse): Use + gen_avx512bmm_vbitrevb. + (ix86_expand_vector_bitreverse): New function. + * config/i386/i386-protos.h (ix86_expand_vector_bitreverse): + Declare. + * config/i386/sse.md (avx512bmm_vbitrevb_<mode>): Use a + parameterized name. + (bitreverse<mode>2): Use it. New expander for VI248_AVX512VL. + +2026-12-03 Dominic P <[email protected]> + + * sym-exec/sym-exec-state.cc (state::do_assign): Sign-extend + signed operands. + +2026-12-03 Dominic P <[email protected]> + + * combine.cc (count_rtxs): Compare the shared operand, not X, + with the operands of the other one. + +2026-12-03 Dominic P <[email protected]> + + * combine.cc (simplify_if_then_else): Do not fold a == b ? b : a + or a != b ? a : b to a when signed zeros are honored. + (known_cond): Remove the UNEQ case. + +2026-12-03 Christopher Bazley <[email protected]> + + * tree-vect-stmts.cc (check_load_store_for_partial_vectors): + Return true if partial vectors can be used. + Return false instead of assigning false to + LOOP_VINFO_CAN_USE_PARTIAL_VECTORS_P (loop_vinfo) if + partial vectors cannot be used. + (vectorizable_store): If check_load_store_for_partial_vectors + returns false then assign false to + LOOP_VINFO_CAN_USE_PARTIAL_VECTORS_P (loop_vinfo). + (vectorizable_load): As above. + +2026-12-03 Christopher Bazley <[email protected]> + + * tree-vect-stmts.cc (enum vect_load_store_partial_vector_style): + New enum. + (vect_get_load_store_partial_vector_style): + Define a new function to get the partial vectors style supported + by the target. + (check_load_store_for_partial_vectors): Use the new function in + place of existing custom code to do the same thing. + +2026-12-03 Christopher Bazley <[email protected]> + + * tree-vect-loop.cc (_loop_vec_info::_loop_vec_info): + Delete initializers for vectorization_factor, + rgroup_compare_type, partial_vector_style and + partial_load_store_bias. + (_loop_vec_info::~_loop_vec_info): Move calls to + release_vec_loop_controls from this destructor to + ~vec_info. + (vect_verify_full_masking_avx512): Update comment. + (vect_estimate_min_profitable_iters): As above. + (vectorizable_lane_reducing): Don't pass a pointer to + vec_loop_masks or vec_loop_lens when calling vect_record_mask + or vect_record_len. + (vectorizable_reduction): As above. + (vectorize_fold_left_reduction): Delete the parameters + that point to vec_loop_masks and vec_loop_lens and + don't pass those arguments to vect_get_mask or vect_get_len. + (vect_transform_reduction): Don't pass a + pointer to vec_loop_masks or vec_loop_lens when calling + vect_get_mask, vect_get_len or vectorize_fold_left_reduction. + (vectorizable_live_operation_1): Don't pass a + pointer to vec_loop_masks or vec_loop_lens when calling + vect_get_mask or vect_get_len. + (vectorizable_live_operation): Don't pass a + pointer to vec_loop_masks or vec_loop_lens when calling + vect_record_mask or vect_record_len. + (vect_record_loop_mask): Rename as vect_record_mask. + (vect_record_mask): Change the type of the first parameter from + loop_vec_info to a pointer to vec_info. + Get vec_masks from vec_info instead of requiring an extra + argument for vec_loop_masks (old type name). + Only add a mask to the scalar_cond_masked_set if called with a + loop_vec_info. + Add a parameter of type unsigned int. + (vect_get_loop_mask): Rename as vect_get_mask. + (vect_get_mask): Change the type of the first parameter from + loop_vec_info to a pointer to vec_info. + Get vec_masks from vec_info instead of requiring an extra + argument for vec_loop_masks (old type name). + Access members of the vec_info directly instead of via + LOOP_VINFO_ accessor macros. + Add a parameter of type unsigned int. + (vect_record_loop_len): Rename as vect_record_len. + (vect_record_len): Change the type of the first parameter from + loop_vec_info to a pointer to vec_info. + Get vec_lens from vec_info instead of requiring an extra + argument for vec_loop_lens (old name). + Access members of the vec_info directly instead of via + LOOP_VINFO_ accessor macros. + Add a parameter of type unsigned int. + (vect_get_loop_len): Rename as vect_get_len. + (vect_get_len): Change the type of the first parameter from + loop_vec_info to a pointer to vec_info. + Get vec_lens from vec_info instead of requiring an extra + argument for vec_loop_lens (old name). + Access members of the vec_info directly instead of via + LOOP_VINFO_ accessor macros. + Add a parameter of type unsigned int. + (vect_gen_loop_len_mask): Delete the parameter that points to + vec_loop_lens (old name) and don't pass vec_lens to + vect_get_len. + * tree-vect-stmts.cc (check_load_store_for_partial_vectors): + Don't pass a pointer to vec_loop_masks or vec_loop_lens when + calling vect_record_mask or vect_record_len. + (prepare_vec_mask): Change the type of the first parameter from + loop_vec_info to a pointer to vec_info and use it when querying + vec_cond_masked_set. + Rename the loop_mask parameter as loop_or_tail_mask. + (vectorizable_call): Don't pass a pointer to vec_loop_masks or + vec_loop_lens when calling vect_record_mask, vect_record_len, + vect_get_mask or vect_get_len. + (vectorizable_simd_clone_call): As above. + (vectorizable_operation): As above. + Replace uses of local vec_loop_masks and vec_loop_lens pointers + for flow control with Boolean local variables that can + be true for BB SLP if using partial vectors. + (vectorizable_store): Replace uses of local vec_loop_masks and + vec_loop_lens pointers for flow control with Boolean local + variables that can be true for BB SLP if using partial vectors. + Stop passing a vec_loop_masks or vec_loop_lens pointer as an + explicit argument to vect_get_loop_mask, vect_get_loop_len + (old function names). + Replace invocation of LOOP_VINFO_PARTIAL_LOAD_STORE_BIAS with + direct access to partial_load_store_bias member of vec_info. + Pass a pointer to vec_info to vect_get_len, vect_get_mask and + prepare_vec_mask instead of passing a loop_vec_info. + (vectorizable_load): As above. + (vectorizable_condition): Stop passing a vec_loop_masks or + vec_loop_lens pointer as an explicit argument to + vect_record_loop_len, vect_record_loop_mask, vect_get_loop_len, + or vect_get_loop_mask (old function names). + Replace uses of local vec_loop_masks and vec_loop_lens pointers + for flow control with Boolean local variables that can + be true for BB SLP if using partial vectors. + (vectorizable_early_exit): Stop passing a vec_loop_masks or + vec_loop_lens pointer as an explicit argument to + vect_record_loop_len, vect_record_loop_mask, + vect_get_loop_mask, prepare_vec_mask and + vect_gen_loop_len_mask. + * tree-vectorizer.cc (vec_info::vec_info): + Add initializers for vectorization_factor, + rgroup_compare_type, rgroup_iv_type, + partial_vector_style, partial_load_store_bias. + (vec_info::~vec_info): Add calls to + release_vec_loop_controls that were moved to this + destructor from ~_loop_vec_info. + * tree-vectorizer.h (struct scalar_cond_masked_key): + Update reference to vect_record_loop_mask. + (class vec_info): Move members vectorization_factor, + masks, lens, vec_cond_masked_set, rgroup_compare_type, + rgroup_iv_type, partial_vector_style and + partial_load_store_bias from _loop_vec_info to its + superclass. + (class _loop_vec_info): As above. + (struct vec_loop_masks): Rename as vec_masks. + (vec_loop_lens): Rename as vec_lens. + (vect_record_loop_mask): Rename as vect_record_mask. + (vect_get_loop_mask): Rename as vect_get_mask. + (vect_record_loop_len): Rename as vect_record_len. + (vect_get_loop_len): Rename as vect_get_len. + (vect_record_mask): New name of vect_record_loop_mask. + Replace first parameter of type loop_vec_info with a + pointer to vec_info. + Don't require the caller to pass a pointer to vec_loop_masks. + Add an optional parameter of type unsigned int (default 0). + (vect_get_mask): New name of vect_get_loop_mask. + Replace first parameter of type loop_vec_info with a pointer + to vec_info. + Don't require the caller to pass a pointer to vec_loop_masks. + Add an optional parameter of type unsigned int (default 0). + (vect_record_len): New name of vect_record_loop_len. + Replace first parameter of type loop_vec_info with a pointer + to vec_info. + Don't require the caller to pass a pointer to vec_loop_lens. + Add an optional parameter of type unsigned int (default 0). + (vect_get_len): New name of vect_get_loop_len. + Replace first parameter of type loop_vec_info with a pointer + to vec_info. + Don't require the caller to pass a pointer to vec_loop_lens. + Add an optional parameter of type unsigned int (default 0). + (vect_gen_loop_len_mask): Don't require the caller to pass a + pointer to vec_loop_lens. + (release_vec_loop_controls): Declare function for use by + vec_info::~vec_info. + (prepare_vec_mask): Change the type of the first parameter from + loop_vec_info into a pointer to vec_info. + +2026-12-03 Christopher Bazley <[email protected]> + + * tree-vect-slp.cc (vect_transform_slp_perm_load_1): Pad + the elements supplied to a vec_perm_builder with extra + elements mapping each output lane directly to the same + input lane if necessary to complete the builder for an + SLP node that has a partial vector. + +2026-12-03 Jakub Jelinek <[email protected]> + + PR rtl-optimization/129193 + * combine.cc (force_int_to_mode) <case XOR>: Make sure + for non-HWI_COMPUTABLE_MODE_Ps we don't shift away significant bits. + <case NOT>: Likewise. + +2026-12-03 Jakub Jelinek <[email protected]> + + * internal-fn.cc (expand_BITCOMPRESS, expand_BITEXPAND): Use + prec1 <= 1 test instead of prec1 == 1 for whether arg1 is in + [0, 1] range. + +2026-12-03 Jakub Jelinek <[email protected]> + + PR rtl-optimization/129222 + * ifcvt.cc (noce_splat_to_const): Add 1 in exact_log2 + operands in unsigned HOST_WIDE_INT type rather than + HOST_WIDE_INT type. + +2026-12-03 Jakub Jelinek <[email protected]> + + PR middle-end/129213 + * gimple-lower-bitint.cc (gimple_lower_bitint): Call + update_ssa (TODO_update_ssa_only_virtuals) if any IFN_BITEXPAND + calls with large/huge _BitInt operands/result were lowered. + +2026-12-03 Robin Dapp <[email protected]> + + * config/riscv/riscv-vector-costs.cc (costs::compare_lmul_to): + Simplify by just checking if smallest type is LMUL1. + (costs::record_type_sizes): Early out for non load/store and + just set smallest type. + (costs::finish_cost): Check if smallest type is LMUL1. + * config/riscv/riscv-vector-costs.h: Remove largest type and + type ratio. + +2026-12-03 Robin Dapp <[email protected]> + + * config/riscv/riscv.cc (riscv_builtin_vectorization_cost): + Rewire unaligned loads/stores to aligned. + +2026-12-03 Robin Dapp <[email protected]> + + PR target/127597 + * config/riscv/riscv-modes.def (VLS_ALIGNMENT): Adjust for VLS + modes. + (ADJUST_ALIGNMENT): Likewise. + * config/riscv/riscv.cc (riscv_slow_unaligned_access): Use bit + alignment. + +2026-12-03 Richard Biener <[email protected]> + + PR tree-optimization/129209 + * tree-ssa-loop-niter.cc (number_of_iterations_ne_max): Use the + control IV period when the exit need not be taken. + +2026-12-03 Avinash Jayakar <[email protected]> + + PR target/125938 + * doc/invoke.texi (-mfull-toc, -mno-fp-in-toc, -mno-sum-in-toc, + -mminimal-toc): Document that these options are intended for the + small code model and that -mminimal-toc is not supported with the + medium or large code models. Mention that medium is the default + on little-endian PowerPC 64-bit Linux and that AIX still uses + -mminimal-toc. + +2026-12-03 Torbjörn SVENSSON <[email protected]> + + PR target/122965 + * config/arm/arm.cc (arm_noce_conversion_profitable_p): Use + default profitability checks for unconditional sequences. + +2026-12-03 Torbjörn SVENSSON <[email protected]> + Tamar Christina <[email protected]> + + PR testsuite/124342 + PR testsuite/124619 + * config/arm/arm.cc (arm_builtin_support_vector_misalignment): + Only use the NEON-specific path for vector modes. + +2026-12-03 Bohan Lei <[email protected]> + + * config/riscv/riscv.cc (riscv_tune_param): Add has_ras. + (riscv_has_ras): New variable. + (generic_tune_info): Initialize has_ras. + (rocket_tune_info): Ditto. + (sifive_7_tune_info): Ditto. + (sifive_p400_tune_info): Ditto. + (sifive_p600_tune_info): Ditto. + (sifive_p550_tune_info): Ditto. + (sifive_p870_tune_info): Ditto. + (thead_c906_tune_info): Ditto. + (xiangshan_nanhu_tune_info): Ditto. + (generic_ooo_tune_info): Ditto. + (xt_c9501_tune_info): Ditto. + (tt_ascalon_d8_tune_info): Ditto. + (optimize_size_tune_info): Ditto. + (mips_p8700_tune_info): Ditto. + (mips_i8500_tune_info): Ditto. + (andes_25_tune_info): Ditto. + (xt_c908_tune_info): Ditto. + (spacemit_x60_tune_info): Ditto. + (spacemit_x100_tune_info): Ditto. + (andes_23_tune_info): Ditto. + (andes_45_tune_info): Ditto. + (arcv_rhx100_tune_info): Ditto. + (arcv_rmx100_tune_info): Ditto. + (riscv_ras_return_bypass_p): New bypass guard. + (riscv_override_options_internal): Use the CPU tune's RAS flag. + * config/riscv/riscv-protos.h (riscv_ras_return_bypass_p): + Declare. + * config/riscv/riscv.md: Add a guarded bypass for returns. + +2026-12-03 Wesley Lewis <[email protected]> + + PR tree-optimization/113138 + * match.pd (x cmp ~x): New pattern. + +2026-12-03 Jin Ma <[email protected]> + + * config/riscv/riscv_crypto.h (__riscv_sm4ed): Remove stray + semicolon from the !__OPTIMIZE__ fallback macro. + (__riscv_sm4ks): Likewise. + +2026-12-03 Igor Shevlyakov <[email protected]> + + * config/i386/i386.md (*nabshf2_1): New define_insn_and_split. + (*abshf2_neg_mask): Update the comment. + * config/i386/sse.md (*nabs<mode>2): Use VFB instead of VF. + +2026-12-03 Pan Li <[email protected]> + + * config/riscv/vector-crypto.md (@pred_vwsll<mode>): Use widening + overlap constraints, split the merge alternatives and print operand 4 + with %v4. + 2026-12-02 Matt Turner <[email protected]> PR target/128966 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 037ab7528dbe..8a695124cb17 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20261203 +20261204 diff --git a/gcc/algol68/ChangeLog b/gcc/algol68/ChangeLog index 6c480635bb32..f5bd4f162de9 100644 --- a/gcc/algol68/ChangeLog +++ b/gcc/algol68/ChangeLog @@ -1,3 +1,13 @@ +2026-12-03 Iain Buclaw <[email protected]> + + * a68-low-holes.cc (a68_wrap_formal_proc_hole): Handle lowering + one-dimensional row modes for C formal holes. + * a68-moids-misc.cc (is_one_dimensional_row): New function. + (a68_is_c_mode): Accept one-dimensional rows of C compatible modes in + formal hole parameters and yielded values. + * ga68.texi (Communicating with C): Document C representations for + string and one-dimensional row parameters and yielded rows. + 2026-11-19 Jose E. Marchesi <[email protected]> PR algol68/128797 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 53bbd61e0c0e..872fcb33aede 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,182 @@ +2026-12-03 David Malcolm <[email protected]> + + * call-summary.cc + (call_summary_replay::convert_svalue_from_summary_1): Reject + summaries in which the region for the caller's cluster region + is not itself a cluster region. + (convert_bit_contents_from_summary): Update for field renaming. + * infinite-recursion.cc (remap_enclosing_frame): Strengthen + "base_reg" param from region to a cluster region, renaming to + "cluster_reg". Strengthen return type from region to + cluster_region. + (sufficiently_different_region_binding_p): Strengthen "base_reg" + param from region to a cluster region, renaming to "cluster_reg". + Likewise for local "equiv_prev_base_reg". + (sufficiently_different_p): Likewise for local "base_reg". + * program-state.cc (get_any_inherited_state_of_bit_vector): Update + for field renaming. + * region-model.cc + (region_model::get_bit_contents): Strengthen "base_reg" param from + region to a cluster region, renaming to "cluster_reg". + (region_model::get_representative_path_var_1): Likewise for local. + (selftest::test_maybe_get_region_for_mem_range): Update for + symbolic::memory_range requiring a cluster_region. + * region-model.h (region_model::get_bit_contents): Strengthen + "base_reg" param from region to a cluster region, renaming to + "cluster_reg". + * region.cc (region::calc_memory_offset): Likewise for local + "base_region". Use get_cluster_region rather than + get_base_region. Update default case to get iter_region as a + cluster_region, adding an assertion that this is the case. + (region::calc_pointer): Likewise. + * store.cc (binding_cluster::get_representative_path_vars): + Strengthen param "const region *base_reg" to + "const cluster_region &cluster_reg". + (store::get_bits): Update for memory_range::get_cluster_region + being a cluster_region, rather than just a region, dropping + redundant lookup and assertion. + (store::get_bit_contents): Strengthen "base_reg" param from region + to cluster_region, renaming to "cluster_reg", dropping redundant + lookup and assertion. + (store::set_bits): Strengthen type of "lhs_base_reg" from region to + cluster_region. + (store::get_baseline_contents): Strengthen "base_reg" param from + region to cluster_region, renaming to "cluster_reg". + (store::get_implicit_contents): Likewise. + (store::bits_live_p): Likewise for local. + (store::get_representative_path_vars): Likewise. + (store::replay_call_summary): Likewise for keys, converting from + an auto_vec to a symbolic::node_set. + (store::replay_call_summary_cluster): Likewise for param. Replace + as_a with static_cast to avoid needing is_a_helper. Update for + field renaming. + * store.h (binding_cluster::get_representative_path_vars): + Likewise for param. + (store::get_bit_contents): Likewise. + (store::replay_call_summary_cluster): Likewise. + (store::get_baseline_contents): Likewise. + (store::get_implicit_contents): Likewise. + * svalue.h (pointer_svalue::get_base_region): Mark as deprecated. + Strengthen return type from region to cluster_region, and use + symbolic::pointer::get_cluster_region. + (pointer_svalue::get_cluster_region): New. + * symbolic-bit-contents.cc (baseline_key::operator<): Update for + field renaming. + (uninit_contents::get_representative_path_vars): Strengthen param + from const region * to const cluster_region &. + (untracked_bit_contents::get_representative_path_vars): Likewise. + (zero_contents::get_representative_path_vars): Likewise. + (unfoldable_bit_contents::get_representative_path_vars): Likewise. + (baseline_bit_contents::baseline_bit_contents): Update for field + renaming. + (baseline_bit_contents::add_dump_widget_children): Likewise. + (baseline_bit_contents::accept_node_visitor): Likewise. + (baseline_bit_contents::poison_any_pointers_to_descendents): + Likewise. + (concrete_bit_overlay::get_representative_path_vars): Strengthen + param from const region * to const cluster_region &. + (should_poison_sym_ptr_p): Rename "base_" to "cluster_". + (symbolic_bit_overlay::get_representative_path_vars): Strengthen + param from const region * to const cluster_region &. + (offset_bit_contents::get_representative_path_vars): Likewise. + (baseline_key::region_has_meaningful_size_p): Update for field + renaming. + (baseline_key::to_json): Likewise. + (bit_contents_manager::make_baseline_contents): Likewise. + (bit_contents_manager::get_baseline_contents): Strengthen + "base_reg" param from region to a cluster region, renaming to + "cluster_reg". + * symbolic-bit-contents.h + (bit_contents::get_representative_path_vars): Strengthen param + from const region * to const cluster_region &. + (uninit_contents::get_representative_path_vars): Likewise. + (untracked_bit_contents::get_representative_path_vars): Likewise. + (zero_contents::get_representative_path_vars): Likewise. + (unfoldable_bit_contents::get_representative_path_vars): Likewise. + (concrete_bit_overlay::get_representative_path_vars): Likewise. + (symbolic_bit_overlay::get_representative_path_vars): Likewise. + (offset_bit_contents::get_representative_path_vars): Likewise. + (bit_contents_manager::get_baseline_contents): Strengthen + "base_reg" param from region to a cluster region, renaming to + "cluster_reg". + * symbolic-bit-vectors.cc + (bit_vector_manager::make_baseline_bit_vector): Update for field + renaming. + (bit_vector_manager::get_baseline_bit_vector): Strengthen + "base_reg" param from region to a cluster region, renaming to + "cluster_reg". + * symbolic-bit-vectors.h + (bit_vector_manager::get_baseline_bit_vector): Likewise for decl. + * symbolic-memory-offsets.h: Update "base_region" to + "cluster_region" terminology throughout. + (memory_offset::memory_offset): Strengthen "base_reg" param from + region to a cluster region, renaming to "cluster_reg". Update + for field renaming. + (memory_offset::operator==): Update for field renaming. + (memory_offset::get_base_region): Mark as deprecated. Strengthen + return type from region to cluster_region and update for field + renaming. + (memory_offset::get_cluster_region): New. + (memory_offset::m_base_reg): Rename to... + (memory_offset::m_cluster_reg): ...this and strengthen type from + region to cluster_region. + * symbolic-memory-ranges.cc: Update "base_region" to + "cluster_region" terminology throughout. + (memory_range::memory_range): Update for field renaming and + prefer get_cluster_region to get_base_region. + (memory_range::make_dump_widget): Update for field renaming. + (memory_range::to_json): Likewise. + * symbolic-memory-ranges.h: Update "base_region" to + "cluster_region" terminology throughout. + (memory_range::memory_range): Strengthen "base_reg" param from + region to a cluster region, renaming to "cluster_reg". Update for + field renaming. + (memory_range::operator==): Update for field renaming. + (memory_range::get_base_region): Mark as deprecated. Strengthen + return type from region to cluster_region and update for field + renaming. + (memory_range::get_cluster_region): New. + (memory_range::m_base_reg): Rename to... + (memory_range::m_cluster_reg): ...this and strengthen type from + region to cluster_region. + * symbolic-nodes.h: Update "base_region" to "cluster_region" + terminology throughout. + (baseline_key::m_base_reg): Rename to... + (baseline_key::m_cluster_reg): ...this and strengthen type from + region to cluster_region. + * symbolic-pointers.cc: Update "base_region" to "cluster_region" + terminology throughout. + (pointer::make_dump_widget): Update for field renaming. + (pointer::accept_node_visitor): Likewise. + (pointer::to_json): Likewise. + (pointer::cmp): Likewise. + (pointer::non_null_p): Likewise. + (pointer::eval_condition): Prefer get_cluster_region to + get_base_region. + * symbolic-pointers.h: Update "base_region" to "cluster_region" + terminology throughout. + (pointer::pointer): Strengthen "base_reg" param from region to a + cluster region, renaming to "cluster_reg". Update for field + renaming. + (pointer::operator==): Update for field renaming. + (pointer::get_base_region): Mark as deprecated. Strengthen return + type from region to cluster_region and update for field renaming. + (pointer::get_cluster_region): New. + (pointer::m_base_reg): Rename to... + (pointer::m_cluster_reg): ...this and strengthen type from region + to cluster_region. + +2026-12-03 David Malcolm <[email protected]> + + PR analyzer/125298 + * svalue.cc (constant_svalue::maybe_get_value_range_1): Don't try to + pass NaN to value_range's min/max ctor. + +2026-12-03 David Malcolm <[email protected]> + + * region.h (class region): Fix the code example in the leading + comment I added in r17-6703-gd1e851a540d6db. + 2026-12-02 David Malcolm <[email protected]> * diagnostic-manager.cc (saved_diagnostic::dump_as_dot_node): Use diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 08fd67f4d49d..ecceda2a6ed8 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,27 @@ +2026-12-03 Jakub Jelinek <[email protected]> + + * c.opt.urls: Regenerate. + +2026-12-03 Oleksandr Kulkov <[email protected]> + + PR ipa/95796 + * c-attribs.cc (handle_target_clones_attribute): Do not set + DECL_UNINLINABLE for target_clones. + +2026-12-03 Dominic P <[email protected]> + + PR c++/77572 + * c-pretty-print.cc (pp_c_char): Print the octal escape of an + unsigned char. + +2026-12-03 Jakub Jelinek <[email protected]> + + P3568R4 + PR c++/129104 + * c-gimplify.cc (c_genericize): Delete bc_hash_map even for C++. + * c-cppbuiltin.cc (c_cpp_builtins): Predefine __cpp_break_label + to 202611L for C++29. + 2026-12-01 Joseph Myers <[email protected]> PR c/96570 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9c98374779db..80da26776279 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,131 @@ +2026-12-03 Marek Polacek <[email protected]> + + PR c++/129115 + * pt.cc (for_each_template_parm_r): Handle SPLICE_EXPR as + non-deduced context. + (unify): Handle SPLICE_SCOPE. + * reflect.cc (make_splice_scope): SET_TYPE_STRUCTURAL_EQUALITY. + * typeck.cc (structural_comptypes): Handle SPLICE_SCOPE. + +2026-12-03 Jakub Jelinek <[email protected]> + + P3568R4 + PR c++/129104 + * parser.cc: Implement C++29 P3568R4 - break label; and continue label; + Include spellcheck.h. + (cp_parser_new): Clear parser->loop_names and parser->loop_names_hash. + (cp_parser_lambda_expression): Temporarily override those. + (get_before_labels): New function. + (struct loop_names_sentinel): New RAII class. + (cp_parser_statement): Add variable of that type. Pass result of + get_before_labels to cp_parser_selection_statement, + cp_parser_iteration_statement and cp_parser_expansion_statement and + cp_parser_pragma. + (cp_parser_label_for_labeled_statement): Only diagnose identifier + labels in expansion stmt body for C++26 and earlier. For C++29 + if parser->loop_names is not empty add label to that vector and + update parser->loop_names_hash accordingly if needed. + (cp_update_loop_names_hash, cp_get_loop_names, cp_release_loop_names, + finish_bc_name): New functions. + (cp_parser_selection_statement): Add before_labels argument. For + RID_SWITCH call cp_get_loop_names before parsing, set + SWITCH_STMT_NAME, or in IN_NAMED_STMT into parser->in_statement + before parsing body, set LABEL_DECL_LOOP_SWITCH_NAME_VALID + before parsing switch body and clear it after that and at the end + clear SWITCH_STMT_NAME if unused, otherwise clear + SWITCH_STMT_NO_BREAK_P. + (cp_parser_iteration_statement): Add before_labels argument. Call + cp_get_loop_names before parsing, set {WHILE,DO,FOR,RANGE_FOR}_NAME, + or in IN_NAMED_STMT into parser->in_statement before parsing bodies, + set LABEL_DECL_LOOP_SWITCH_NAME_VALID before parsing loop body and + clear it after that and at the end clear *_NAME if unused. + (cp_parser_expansion_statement): Add before_labels argument. Call + cp_get_loop_names before parsing, set TEMPLATE_FOR_NAME, or in + IN_NAMED_STMT into parser->in_statement before parsing body, set + LABEL_DECL_LOOP_SWITCH_NAME_VALID before parsing expansion stmt body + and clear it after that and at the end clear TEMPLATE_FOR_NAME if + unused. Fix comment typo. + (cp_parser_jump_statement): Also ignore IN_NAMED_STMT bit. Parse + identifier after break or continue keywords. + (cp_parser_declaration): Adjust cp_parser_pragma caller. + (cp_parser_toplevel_declaration): Likewise. + (cp_parser_member_specification_opt): Likewise. + (cp_parser_function_definition_after_declarator): Temporarily override + parser->loop_names and parser->loop_names_hash. + (cp_parser_objc_interstitial_code): Adjust cp_parser_pragma caller. + (cp_parser_omp_loop_nest): Likewise. + (cp_parser_omp_declare_simd): Likewise. + (cp_maybe_parse_omp_decl): Likewise. + (cp_parser_omp_metadirective): Likewise. + (cp_parser_pragma): Add before_labels argument, pass it down to + cp_parser_iteration_statement. + * cp-tree.h (LABEL_DECL_LOOP_NAME, LABEL_DECL_SWITCH_NAME, + LABEL_DECL_LOOP_SWITCH_NAME_VALID, LABEL_DECL_LOOP_SWITCH_NAME_USED, + LABEL_DECL_IN_TEMPLATE_FOR_P, RANGE_FOR_NAME, TEMPLATE_FOR_NAME): + Define. + (maybe_lookup_label): Declare. + * parser.h (IN_NAMED_STMT): Define. + (struct cp_parser): Add loop_names and loop_names_hash members. + * pt.cc (tsubst_stmt): Handle FOR_NAME, RANGE_FOR_NAME, WHILE_NAME, + DO_NAME, TEMPLATE_FOR_NAME, BREAK_NAME, CONTINUE_NAME, + SWITCH_STMT_NAME. For LABEL_EXPR with LABEL_DECL_LOOP_NAME or + LABEL_DECL_SWITCH_NAME LABEL_DECL copy those flags and + register_local_specialization and also copy + LABEL_DECL_IN_TEMPLATE_FOR_P and TREE_USED flag. Adjust + TEMPLATE_FOR_STMT build_stmt call. + (struct expansion_stmt_bc): Add name, break_name and in_loop members. + (expansion_stmt_find_bc_r): Walk WHILE_BODY, FOR_BODY, DO_BODY or + TEMPLATE_FOR_BODY if bc_data->name, with bc_data->in_loop temporarily + set. Walk SWITCH_STMT_BODY with bc_data->in_switch temporarily set + even if bc_data->name. Handle BREAK_NAME and CONTINUE_NAME. + (finish_expansion_stmt): Initialize bc_data.name, bc_data.break_name + and bc_data.in_loop. Create do ... while (0) loop even if just + bc_data.break_name is non-NULL, in that case set DO_NAME. + * decl.cc (struct named_label_entry): Add goto_locus, other_label_locus + and ambiguous members. + (adjust_backward_gotos): Don't call adjust_backward_goto on LABEL_EXPRs + with LABEL_DECLs if they are ambiguous and not the ent->label_decl. + (pop_labels): If label has DECL_CHAIN, call check_label_used on all + chained labels and set DECL_CHAIN of the last one to previous + BLOCK_VARS. + (lookup_label): For C++29 diagnose references to ambiguous labels + or labels in template for bodies. + (maybe_lookup_label): New function. + (mark_label_addressed): When setting addressed for the first time, + also remember input_location in ent->goto_locus. + (check_goto_1): Set ent->goto_locus if unset. + (define_label): For C++29 don't diagnose duplicate labels with the + exception of __label__ labels, instead diagnose previous goto or + &&label and return a new LABEL_DECL and set ent->ambiguous. Chain + the new LABEL_DECL to DECL_CHAIN of ent->label_decl. For C++29 + and labels defined in expansion stmt body diagnose previous goto to it + and set LABEL_DECL_IN_TEMPLATE_FOR_P flag. + * cp-tree.def (RANGE_FOR_STMT): Add another operand - RANGE_FOR_NAME. + (TEMPLATE_FOR_STMT): Add another operand - TEMPLATE_FOR_NAME. + * constexpr.cc (cxx_eval_loop_expr): For breaks in named loops, check + if BREAK_STMT argument matches it. Similarly for continues in named + loops, though in those cases also don't clear *jump_target for + LABEL_DECLs. In cleanup_cond evaluate cleanup into separate jmp_target + and merge_jump_target afterwards. + (cxx_eval_switch_expr): For breaks in named switches, check if + BREAK_STMT argument matches it. + (check_for_return_continue): For CONTINUE_NAME or BREAK_NAME set + could_throw. + (potential_constant_expression_1): When trying to clear *jump_target + at the end of handling loops, don't clear it if it is BREAK_STMT or + CONTINUE_STMT referencing some outer named loop or switch. + * coroutines.cc (struct replace_continue_data): New type. + (replace_continue): Handle CONTINUE_STMT with NULL CONTINUE_NAME when + not nested inside of some other loop or CONTINUE_STMT with + CONTINUE_NAME matching the FOR_NAME of outermost FOR_STMT being + lowered. For nested loops walk everything but their body and when + FOR_NAME on the loop being lowered is non-NULL, also on the bodies but + with a flag then. Don't ignore subtrees of ASM_EXPR. + (await_statement_walker): Pass different argument to cp_walk_tree with + replace_continue. + * semantics.cc (begin_range_for_stmt): Adjust build_stmt call for + new RANGE_FOR_STMT operand. + 2026-12-01 Sendao Yan <[email protected]> PR c++/129187 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 92674259b4ca..fc4fedd80e32 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2026-12-03 Jakub Jelinek <[email protected]> + + * lang.opt.urls: Regenerate. + 2026-12-01 Harald Anlauf <[email protected]> PR fortran/128682 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7709b40a965f..e16ac51ccd83 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,264 @@ +2026-12-03 John David Anglin <[email protected]> + + * gcc.dg/strlenopt-98.c (strnlen): Provide noipa fallback for + __hpux__. + +2026-12-03 Jerry DeLisle <[email protected]> + + PR testsuite/128897 + * lib/gfortran-dg.exp (GFORTRAN_TORTURE_OPTIONS): New variable: + DG_TORTURE_OPTIONS, or an abbreviated list when + GFORTRAN_ABBREVIATED_TEST is set. + (gfortran-dg-runtest): Use it instead of DG_TORTURE_OPTIONS. + * gfortran.dg/optimize_size_1.f90: New test. + +2026-12-03 Marek Polacek <[email protected]> + + PR c++/129115 + * g++.dg/reflect/diag2.C: Adjust expected diagnostic. + * g++.dg/reflect/member26.C: New test. + * g++.dg/reflect/partial-ordering1.C: New test. + * g++.dg/reflect/partial-ordering2.C: New test. + * g++.dg/reflect/partial-specialization1.C: New test. + * g++.dg/reflect/partial-specialization2.C: New test. + +2026-12-03 Robin Dapp <[email protected]> + + PR tree-optimization/128704 + * gcc.dg/vect/pr128704.c: New test. + +2026-12-03 Robin Dapp <[email protected]> + + * gcc.dg/tree-ssa/pr113138-1.c: Join dg-final lines. + * gcc.dg/tree-ssa/pr113138-2.c: Add newline. + * gcc.dg/tree-ssa/pr113138-3.c: Ditto. + * gcc.dg/tree-ssa/pr113138-4.c: Ditto. + * gcc.dg/tree-ssa/pr113138-5.c: Ditto. + +2026-12-03 Jose E. Marchesi <[email protected]> + + * algol68/compile/error-op-numargs-3.a68: Remove spurious + dg-error. + +2026-12-03 Iain Buclaw <[email protected]> + + * algol68/compile/error-formal-hole-1.a68: New test. + * algol68/compile/formal-hole-3.a68: New test. + * algol68/compile/formal-hole-4.a68: New test. + * algol68/compile/formal-hole-5.a68: New test. + +2026-12-03 Kyrylo Tkachov <[email protected]> + + PR target/128913 + * gcc.target/aarch64/sve/pr128913.c: New test. + * gcc.target/aarch64/sve/pr128913_2.c: Likewise. + +2026-12-03 Oleksandr Kulkov <[email protected]> + + PR ipa/95796 + * g++.target/i386/pr95796-1.C: New test. + * gcc.target/i386/pr95778-1.c (f2): Add noinline. + * gcc.target/i386/pr95778-2.c (f2): Likewise. + * gcc.target/i386/pr95796-1.c: New test. + * gcc.target/i386/pr95796-3.c: New test. + * gcc.target/i386/tct-ipa-inline-ice.c: Remove obsolete comment. + +2026-12-03 David Malcolm <[email protected]> + + PR analyzer/125298 + * gcc.dg/analyzer/divide-by-zero-pr125298.c: New test. + +2026-12-03 vekumar <[email protected]> + + * gcc.target/i386/avx512bmm-bitreverse-vect-1.c: New test. + * gcc.target/i386/avx512bmm-bitreverse-vect-2.c: New test. + * gcc.target/i386/avx512bmm-bswap-vect-1.c: New test. + * gcc.target/i386/avx512bmm-bswap-vect-2.c: New test. + +2026-12-03 Dominic P <[email protected]> + + PR c++/77572 + * g++.dg/diagnostic/pr77572.C: New test. + +2026-12-03 Dominic P <[email protected]> + + * gcc.dg/torture/crc-sign-extend-1.c: New test. + +2026-12-03 Dominic P <[email protected]> + + * gcc.dg/cond-eq-signed-zero.c: New test. + * gcc.dg/cond-ltgt-unordered.c: New test. + +2026-12-03 Jakub Jelinek <[email protected]> + + PR rtl-optimization/129193 + * gcc.dg/pr129193.c: New test. + +2026-12-03 Jakub Jelinek <[email protected]> + + PR rtl-optimization/129222 + * gcc.dg/pr129222.c: New test. + +2026-12-03 Jakub Jelinek <[email protected]> + + PR middle-end/129213 + * gcc.dg/bitint-157.c: New test. + +2026-12-03 Robin Dapp <[email protected]> + + * gcc.target/riscv/rvv/autovec/dyn-lmul-conv-4.c: New test. + +2026-12-03 Robin Dapp <[email protected]> + + * gcc.target/riscv/rvv/autovec/align-3.c: New test. + * gcc.target/riscv/rvv/autovec/align-4.c: New test. + +2026-12-03 Robin Dapp <[email protected]> + + PR target/127597 + * gcc.target/riscv/rvv/base/pr127597-1.c: New test. + * gcc.target/riscv/rvv/base/pr127597-2.c: New test. + * gcc.target/riscv/rvv/base/pr127597-3.c: New test. + * gcc.target/riscv/rvv/base/pr127597-4.c: New test. + * gcc.target/riscv/rvv/base/pr127597-5.c: New test. + * gcc.target/riscv/rvv/base/pr127597-6.c: New test. + * gcc.target/riscv/rvv/base/pr127597-7.c: New test. + * gcc.target/riscv/rvv/base/pr127597-8.c: New test. + +2026-12-03 Richard Biener <[email protected]> + + PR tree-optimization/129209 + * gcc.dg/torture/pr129209.c: New test. + +2026-12-03 Torbjörn SVENSSON <[email protected]> + + PR target/122965 + * gcc.target/arm/epilog-1.c: Expect UBFX and ADD for + armv8.1-m.main. + +2026-12-03 Jakub Jelinek <[email protected]> + + P3568R4 + PR c++/129104 + * g++.dg/DRs/dr2581-1.C: Add test for __cpp_break_label. + * g++.dg/DRs/dr2581-2.C: Likewise. + * g++.dg/ext/label7.C: Don't expect duplicate label for C++29. + * g++.dg/other/label1.C: Likewise + * g++.dg/cpp26/expansion-stmt5.C: Expect no diagnostics for + unused named labels defined in expansion stmt body. Add further + tests with goto to those. + * g++.dg/warn/Wunused-label-4.C: Change dg-warning to dg-bogus + and add another dg-bogus. + * g++.dg/warn/Wunused-label-5.C: New test. + * g++.dg/cpp29/named-loops1.C: New test. + * g++.dg/cpp29/named-loops2.C: New test. + * g++.dg/cpp29/named-loops3.C: New test. + * g++.dg/cpp29/named-loops4.C: New test. + * g++.dg/cpp29/named-loops5.C: New test. + * g++.dg/cpp29/named-loops6.C: New test. + * g++.dg/cpp29/named-loops7.C: New test. + * g++.dg/cpp29/named-loops8.C: New test. + * g++.dg/cpp29/named-loops9.C: New test. + * g++.dg/cpp29/named-loops10.C: New test. + * g++.dg/cpp29/named-loops11.C: New test. + * g++.dg/cpp29/named-loops12.C: New test. + * g++.dg/cpp29/named-loops13.C: New test. + * g++.dg/cpp29/named-loops14.C: New test. + * g++.dg/cpp29/named-loops15.C: New test. + * g++.dg/cpp29/named-loops16.C: New test. + * g++.dg/cpp29/named-loops17.C: New test. + * g++.dg/cpp29/named-loops18.C: New test. + * g++.dg/cpp29/named-loops19.C: New test. + * g++.dg/cpp29/named-loops20.C: New test. + * g++.dg/cpp29/feat-cxx29.C: Add test for __cpp_break_label. + +2026-12-03 Avinash Jayakar <[email protected]> + + PR target/127157 + * gcc.target/powerpc/xxgenpc-runnable.c: Add big-endian expected + results. + +2026-12-03 Bohan Lei <[email protected]> + + * gcc.target/riscv/return-ras-tune.c: New test. + +2026-12-03 Manjunath Matti <[email protected]> + + PR target/125966 + * gcc.target/powerpc/fp128_conversions.c: Require int128 + effective target check. Expect two xscvsqqp when long double + is not IBM 128-bit. + (MSW, LSW, LD_HI, LD_LO): New macros. + (main): Use them when reading the union. Fail if either half + of a result is wrong. Fix the expected most significant halves + of the conv_fp128_2_i128 results. Handle IEEE 128-bit long + double. Print the result in the DEBUG output. + * gcc.target/powerpc/int_128bit-runnable.c: Require int128 + effective target check. + +2026-12-03 Wesley Lewis <[email protected]> + + PR tree-optimization/113138 + * gcc.dg/tree-ssa/pr113138-1.c: New test. + * gcc.dg/tree-ssa/pr113138-2.c: New test. + * gcc.dg/tree-ssa/pr113138-3.c: New test. + * gcc.dg/tree-ssa/pr113138-4.c: New test. + * gcc.dg/tree-ssa/pr113138-5.c: New test. + +2026-12-03 Jiahao Xu <[email protected]> + + PR libgcc/127556 + * gcc.target/loongarch/pr127556.c: New test. + +2026-12-03 Jin Ma <[email protected]> + + * gcc.target/riscv/scalar_crypto_intrinsic-sm4-expr.c: New test. + +2026-12-03 Igor Shevlyakov <[email protected]> + + * gcc.dg/rtl/x86_64/nabs-hf-1.c: New test. + * gcc.dg/rtl/x86_64/nabs-hf-2.c: Likewise. + +2026-12-03 Pan Li <[email protected]> + + * gcc.target/riscv/rvv/base/pr112431-69.c: New test. + +2026-12-03 Pan Li <[email protected]> + + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u16-m1.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u16-m2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u16-m4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u16-mf2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u16-mf4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u32-m1.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u32-m2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u32-m4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u32-mf2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u8-m1.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u8-m2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u8-m4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u8-mf2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u8-mf4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vi-u8-mf8.c: New test. + +2026-12-03 Pan Li <[email protected]> + + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u16-m1.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u16-m2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u16-m4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u16-mf2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u16-mf4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u32-m1.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u32-m2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u32-m4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u32-mf2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u8-m1.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u8-m2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u8-m4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u8-mf2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u8-mf4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwsll_vv-u8-mf8.c: New test. + 2026-12-02 John David Anglin <[email protected]> PR middle-end/128865 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index d125caa7d99f..d2756d4edd4d 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,16 @@ +2026-12-03 Torbjörn SVENSSON <[email protected]> + + PR target/124053 + * config/arm/t-softfp: Add $(softfp_cflags) to INTERNAL_CFLAGS + for _mulhc3 and _divhc3. + +2026-12-03 Jiahao Xu <[email protected]> + + PR libgcc/127556 + * libgcc2.c (__lshrdi3): Mask shift count with 2 * W_TYPE_SIZE - 1. + (__ashldi3): Likewise. + (__ashrdi3): Likewise. + 2026-12-01 Stefan Schulze Frielinghaus <[email protected]> * config/s390/_dpd_dd_to_hf.c (force_convert): Replace type diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 9dc42e9773c8..7ff1595dfcd5 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,11 @@ +2026-12-03 John David Anglin <[email protected]> + + PR libfortran/126407 + * io/read.c (GFC_STRTOD_NEEDS_HEX_FALLBACK): Define on __hpux__. + (is_hex_float, hex_strtold, hex_convert_real): New functions. + (convert_real): Use hex_convert_real for hexadecimal floating-point + strings when GFC_STRTOD_NEEDS_HEX_FALLBACK is defined. + 2026-11-29 Jerry DeLisle <[email protected]> * io/transfer.c (record_bytes_used): New function. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index b44985ba333b..3525b25d0a2d 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,233 @@ +2026-12-03 Jerry DeLisle <[email protected]> + + PR testsuite/128897 + * testsuite/libgomp.fortran/fortran.exp: Update comment. + * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. + +2026-12-03 Thomas Schwinge <[email protected]> + + * Makefile.am (AM_CFLAGS): Add '-Wwrite-strings'. + * Makefile.in: Regenerate. + +2026-12-03 Thomas Schwinge <[email protected]> + + * affinity-fmt.c (gomp_display_string_len): Make 'str' 'const'. + +2026-12-03 Thomas Schwinge <[email protected]> + + * target.c (str_omp_initial_device): Address initialization + discards 'const' qualifier from pointer target type. + +2026-12-03 Thomas Schwinge <[email protected]> + + * task.c (GOMP_taskwait_depend_nowait): Address passing argument + discards 'const' qualifier from pointer target type. + +2026-12-03 Thomas Schwinge <[email protected]> + + * env.c (gomp_affinity_format_var): Address initialization + discards 'const' qualifier from pointer target type. + +2026-12-03 Thomas Schwinge <[email protected]> + + * Makefile.am (AM_CFLAGS): Add '-Wsign-compare'. + * Makefile.in: Regenerate. + +2026-12-03 Thomas Schwinge <[email protected]> + + * affinity-fmt.c (gomp_display_affinity): Address comparison of + integer expressions of different signedness for 'int i' etc. loop + index variables. + * config/accel/target-indirect.c (build_indirect_map): Likewise. + * env.c (print_proc_bind, print_device_specific_icvs) + (omp_display_env, initialize_env): Likewise. + * oacc-parallel.c (handle_ftn_pointers, GOACC_data_start): + Likewise. + * plugin/build-target-indirect-htab.h + (create_target_indirect_map): Likewise. + * plugin/plugin-gcn.c (parse_target_attributes, run_kernel): + Likewise. + * team.c (gomp_free_thread, gomp_pause_host): Likewise. + +2026-12-03 Thomas Schwinge <[email protected]> + + * config/posix/bar.c (gomp_team_barrier_wait_end) + (gomp_team_barrier_wait_cancel_end): Address comparison of integer + expressions of different signedness for 'int gen'. + +2026-12-03 Thomas Schwinge <[email protected]> + + * config/gcn/affinity-fmt.c (fwrite): Return 'size_t'. + * config/nvptx/affinity-fmt.c (fwrite): Likewise. + * config/rtems/affinity-fmt.c (fwrite): Likewise. + +2026-12-03 Thomas Schwinge <[email protected]> + + * config/gcn/target.c (GOMP_teams4): Address comparison of integer + expressions of different signedness and operand of '?:' changes + signedness for 'GOMP_ADDITIONAL_ICVS.nteams'. + * config/nvptx/target.c (GOMP_teams4): Likewise. + +2026-12-03 Thomas Schwinge <[email protected]> + + * plugin/plugin-gcn.c (override_x_dim, override_z_dim): Change + type to 'uint32_t'. + (run_kernel): Likewise for 'override_x', 'override_z'. + +2026-12-03 Thomas Schwinge <[email protected]> + + * plugin/plugin-gcn.c (struct module_info): Change type of + 'kernel_count' to 'unsigned'. + (destroy_hsa_program, destroy_module, GOMP_OFFLOAD_load_image): + Adjust. + +2026-12-03 Thomas Schwinge <[email protected]> + + * plugin/plugin-gcn.c (prepare_kernel_dispatch): Address + comparison of integer expressions of different signedness and + operand of '?:' changes signedness for 'int LDS_per_team'. + +2026-12-03 Thomas Schwinge <[email protected]> + + * plugin/plugin-gcn.c (init_hsa_context): Address comparison of + integer expressions of different signedness. + +2026-12-03 Thomas Schwinge <[email protected]> + + * plugin/plugin-gcn.c (parse_target_attributes, run_kernel): + Address comparison of integer expressions of different signedness + for 'int max_threads'. + +2026-12-03 Thomas Schwinge <[email protected]> + + * plugin/plugin-nvptx.c (nvptx_exec): Address operand of '?:' + changes signedness. + +2026-12-03 Thomas Schwinge <[email protected]> + + * plugin/plugin-nvptx.c (nvptx_exec): Address comparison of + integer expressions of different signedness. + +2026-12-03 Thomas Schwinge <[email protected]> + + * affinity-fmt.c (gomp_display_affinity) <case 'a'>: Address + operand of '?:' changes signedness. + +2026-12-03 Thomas Schwinge <[email protected]> + + * oacc-mem.c (find_group_last): Address comparison of integer + expressions of different signedness. + +2026-12-03 Thomas Schwinge <[email protected]> + + * target.c (gomp_target_init): Address operand of '?:' changes + signedness. + +2026-12-03 Thomas Schwinge <[email protected]> + + * target.c (struct cpy_data, gomp_map_cdata_lookup_int) + (gomp_target_rev): Address comparison of integer expressions of + different signedness for index into reverse-offload data. + +2026-12-03 Thomas Schwinge <[email protected]> + + * target.c (num_offload_images): Change type to 'size_t'. + (GOMP_offload_unregister_ver, gomp_init_device) + (gomp_unload_device, gomp_target_init): Adjust. + +2026-12-03 Thomas Schwinge <[email protected]> + + * config/linux/affinity.c (omp_get_place_num_procs) + (omp_get_place_proc_ids, gomp_get_place_proc_ids_8) + (gomp_display_affinity_place): Address comparison of integer + expressions of different signedness for + 'place_num >= gomp_places_list_len'. + +2026-12-03 Thomas Schwinge <[email protected]> + + * config/linux/numa.c (gomp_get_numa_distance): Address comparison + of integer expressions of different signedness. + +2026-12-03 Thomas Schwinge <[email protected]> + + * task.c (gomp_barrier_handle_tasks, GOMP_taskwait) + (gomp_task_maybe_wait_for_dependencies, GOMP_taskgroup_end) + (omp_fulfill_event): Address comparison of integer expressions of + different signedness for 'do_wake > new_tasks'. + +2026-12-03 Thomas Schwinge <[email protected]> + + * parallel.c (omp_get_ancestor_thread_num, omp_get_team_size): + Address comparison of integer expressions of different signedness. + +2026-12-03 Thomas Schwinge <[email protected]> + + * parallel.c (GOMP_has_masked_thread_num) + (GOMP_has_masked_thread_num_with_end): Address comparison of + integer expressions of different signedness. + +2026-12-03 Thomas Schwinge <[email protected]> + + * sections.c (gomp_sections_init): Address comparison of integer + expressions of different signedness. + +2026-12-03 Thomas Schwinge <[email protected]> + + * loop.c (gomp_loop_init): Address comparison of integer + expressions of different signedness for "cheap overflow + protection". + +2026-12-03 Thomas Schwinge <[email protected]> + + * iter.c (gomp_iter_guided_next_locked): Address comparison of + integer expressions of different signedness. + +2026-12-03 Thomas Schwinge <[email protected]> + + * iter.c (gomp_iter_static_next): Address comparison of integer + expressions of different signedness for '-1' sentinel values. + * iter_ull.c (gomp_iter_ull_static_next): Likewise. + +2026-12-03 Thomas Schwinge <[email protected]> + + * env.c (parse_gomp_openacc_dim): Address comparison of integer + expressions of different signedness for 'GOMP_OPENACC_DIM'. + +2026-12-03 Thomas Schwinge <[email protected]> + + * env.c (parse_schedule): Address comparison of integer + expressions of different signedness for 'OMP_SCHEDULE'. + +2026-12-03 Thomas Schwinge <[email protected]> + + * env.c (initialize_env): Address comparison of integer + expressions of different signedness for 'PTHREAD_STACK_MIN'. + +2026-12-03 Thomas Schwinge <[email protected]> + + * Makefile.am (AM_CFLAGS): Add '-Wpointer-arith'. + * Makefile.in: Regenerate. + +2026-12-03 Thomas Schwinge <[email protected]> + + * libgomp.h [__AMDGCN__] (team_malloc): Address pointer of type + 'void *' used in arithmetic. + * oacc-mem.c (acc_free, acc_deviceptr, acc_hostptr) + (goacc_map_var_existing): Likewise. + * simple-allocator.c (simple_alloc_coalesce_free_space) + (gomp_simple_alloc, gomp_simple_realloc): Likewise. + * target.c (gomp_device_copy, goacc_device_copy_async) + (gomp_map_vars_internal, gomp_target_enter_exit_data_usm): + Likewise. + * config/gcn/team.c (gomp_gcn_enter_kernel): Likewise. + * config/linux/allocator.c (linux_memspace_alloc): Likewise. + * plugin/plugin-gcn.c (managed_heap_create, GOMP_OFFLOAD_memcpy2d) + (GOMP_OFFLOAD_memcpy3d, GOMP_OFFLOAD_memset) + (host_memory_is_accessible): Likewise. + * plugin/plugin-nvptx.c (nvptx_do_global_cdtors) + (GOMP_OFFLOAD_is_accessible_ptr, cuda_memcpy_dev_sanity_check) + (cuda_memcpy_sanity_check): Likewise. + 2026-12-02 John David Anglin <[email protected]> * testsuite/libgomp.c++/target-std__bitset-concurrent.C (MAX): diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index e4007580a472..b88c14ddb157 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,8 @@ +2026-12-03 Iain Buclaw <[email protected]> + + * configure: Regenerate. + * configure.ac (libtool_VERSION): Update to 8:0:0. + 2026-11-10 Pietro Monteiro <[email protected]> PR bootstrap/103459 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 1df6e6befde4..3b89ab8f8589 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,76 @@ +2026-12-03 Jonathan Wakely <[email protected]> + + PR libstdc++/127690 + * acinclude.m4 (GLIBCXX_ENABLE_PBDS): New macro. + * configure: Regenerate. + * configure.ac: Use GLIBCXX_ENABLE_PBDS. + * include/Makefile.am (stamp-pb, install-headers): Do nothing + when GLIBCXX_PBDS is false. + * include/Makefile.in: Regenerate. + * include/precompiled/extc++.h: Use __has_include to + conditionally include pb_ds headers. + * testsuite/lib/libstdc++.exp (v3-build_support): Set new + v3-pbds variable. + * testsuite/libstdc++-dg/conformance.exp: Use v3-pbds to filter + out ext/pb_ds tests when the headers aren't present. + +2026-12-03 Jonathan Wakely <[email protected]> + + PR libstdc++/127690 + * doc/xml/manual/evolution.xml: Document pbds deprecation. + * doc/xml/manual/policy_data_structures.xml: Document status + and deprecation. + * doc/html/manual/*: Regenerate. + * include/ext/pb_ds/tag_and_trait.hpp: Add #warning and + @deprecated comment. + * scripts/testsuite_flags.in: Add macro to suppress new warning. + +2026-12-03 Zhongteng Gui <[email protected]> + + * libsupc++/cxxabi.h: Drop #ifdef _GLIBCXX_CDTOR_CALLABI around + __cxa_atexit and __cxa_thread_atexit. + +2026-12-03 Jonathan Wakely <[email protected]> + + * include/std/chrono (hh_mm_ss::_S_fractional_width): Return 6 + when the value cannot be accurately represented in 18 decimal + digits. + * testsuite/libstdc++-prettyprinters/chrono.cc: Test more cases. + * testsuite/std/time/hh_mm_ss/1.cc: Check for correct value of + fractional_width. + +2026-12-03 Jonathan Wakely <[email protected]> + + * include/pstl/parallel_backend_tbb.h (class __root_task): + Rename _Args and args to use reserved names. + * testsuite/17_intro/names.cc: Check for more non-reserved + names. + +2026-12-03 Jonathan Wakely <[email protected]> + + * .editorconfig: Adjust rules for include/pstl headers. + +2026-12-03 Ralf Moll <[email protected]> + + * src/c++11/facet_inst_macros.h: Add copyright and licence + header. + +2026-12-03 Jonathan Wakely <[email protected]> + John David Anglin <[email protected]> + + * python/libstdcxx/v6/printers.py (find_base): New function. + (StdStringStreamPrinter.__init__): Use find_base to find the + std::basic_ios virtual base then check its _M_streambuf member. + Remove the _was_redirected member and use non-null _streambuf + to imply redirection. + (StdStringStreamPrinter.to_string): Check _streambuf instead of + _was_redirected. + (StdStringStreamPrinter.display_hint): Likewise. + * testsuite/libstdc++-prettyprinters/debug.cc: Test redirected + ostringstream. + * testsuite/libstdc++-prettyprinters/simple.cc: Likewise. + * testsuite/libstdc++-prettyprinters/simple11.cc: Likewise. + 2026-12-02 John David Anglin <[email protected]> * testsuite/18_support/new_aligned_wrap.cc: Skip on hppa64-*-hpux*.
