+2026-01-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * inclhack.def (AAB_solaris_sys_varargs_h): Remove.
+ (solaris___restrict): Likewise.
+ (solaris_complex): Likewise.
+ (solaris_complex_cxx): Likewise.
+ (solaris_cxx_linkage): Likewise.
+ (solaris_getc_strict_stdc): Likewise.
+ (solaris_gets_c11): Likewise.
+ (solaris_gets_cxx14): Likewise.
+ (solaris_int_limits_2): Likewise.
+ (solaris_math_1): Likewise.
+ (solaris_math_10): Likewise.
+ (solaris_math_2): Likewise.
+ (solaris_math_3): Likewise.
+ (solaris_math_4): Likewise.
+ (solaris_math_8): Likewise.
+ (solaris_math_9): Likewise.
+ (solaris_math_11): Likewise.
+ (solaris_once_init_1): Likewise.
+ (solaris_posix_spawn_restrict): Likewise.
+ (solaris_rwlock_init_1): Likewise.
+ (solaris_std___filbuf): Likewise.
+ (solaris_std_gets_cxx14): Likewise.
+ (solaris_stdio_tag): Likewise.
+ (solaris_stdlib_noreturn): Likewise.
+ (gnu_types): Simplify Solaris guard.
+ (stdio_stdarg_h): Likewise.
+ (stdio_va_list): Likewise.
+ (stdio_va_list_clients): Bypass on Solaris.
+ (strict_ansi_only): Likewise.
+ * fixincl.x: Regenerate.
+ * tests/base/iso/math_c99.h: Remove.
+ * tests/base/iso/stdio_iso.h: Likewise.
+ * tests/base/iso/stdlib_c99.h: Likewise.
+ * tests/base/iso/stdlib_iso.h: Likewise.
+ * tests/base/spawn.h: Likewise.
+ * tests/base/stdio_tag.h: Likewise.
+ * tests/base/sys/feature_tests.h: Likewise.
+ * tests/base/complex.h [SOLARIS_COMPLEX_CHECK]: Remove.
+ [SOLARIS_COMPLEX_CXX_CHECK]: Likewise.
+ * tests/base/pthread.h [SOLARIS_ONCE_INIT_1_CHECK]: Likewise.
+ [SOLARIS_RWLOCK_INIT_1_CHECK]: Likewise
+ * tests/base/stdio.h [SOLARIS_STD___FILBUF_CHECK]: Likewise.
+ [SOLARIS_GETS_CXX14_CHECK]: Likewise.
+ * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_2_CHECK]: Likewise.
+
2025-08-28 Jonathan Wakely <jwakely@redhat.com>
PR bootstrap/118009
+2026-01-07 Tomas Glozar <tglozar@gmail.com>
+
+ PR target/121535
+ * config/ia64/ia64.cc (TARGET_ZERO_CALL_USED_REGS): Override
+ function with target-specific one.
+ (struct gcc_target): Move to end of file.
+ (ia64_zero_call_used_regs): Add target-specific function.
+
+2026-01-07 Xinhui Yang <cyan@cyano.uk>
+
+ * config.gcc: limit -lunwind usage by testing if the system
+ libunwind is being used.
+
+2026-01-07 Xi Ruoyao <xry111@xry111.site>
+
+ PR target/123320
+ * config/loongarch/loongarch.md (<optab><mode>3): Only expand
+ using psuedos when can_create_pseudo_p ().
+ (addsi3): Likewise.
+
+2026-01-07 Andrew MacLeod <amacleod@redhat.com>
+
+ PR tree-optimization/123300
+ * gimple-range-gori.cc (gori_map::exports_and_deps): New.
+ * gimple-range-gori.h (exports_and_deps): New prototype.
+ (FOR_EACH_GORI_EXPORT_AND_DEP_NAME): New macro.
+ * tree-vrp.cc (remove_unreachable:remove_unreachable): Initialize
+ m_tmp bitmap.
+ (remove_unreachable:~remove_unreachable): Dispose of m_tmp bitmap.
+ (remove_unreachable:fully_replaceable): Move from static function
+ and check reachability of exports and dependencies.
+
+2026-01-07 Andrew MacLeod <amacleod@redhat.com>
+
+ PR tree-optimization/123319
+ * value-range.cc (irange::intersect): If there is a bitmask, snap
+ subranges after creating them.
+
+2026-01-07 Daniel Barboza <daniel.barboza@oss.qualcomm.com>
+
+ PR tree-optimization/102486
+ * match.pd (`popcount (X & -X) -> -X != 0`): New pattern.
+
+2026-01-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/119291
+ PR rtl-optimization/121773
+ * combine.cc (try_combine): Check that SET_DEST (setN) is neither
+ modified_between_p nor reg_used_between_p instead of just not
+ reg_used_between_p or pc_rtx.
+
+2026-01-07 Richard Earnshaw <rearnsha@arm.com>
+
+ PR target/123390
+ * config/arm/arm.cc (arm_gen_constant): Fix types of HWI literals.
+ (arm_const_double_prefer_rsbs_rsc): Likewise.
+
+2026-01-07 Alfie Richards <alfie.richards@arm.com>
+
+ * config/aarch64/aarch64.cc (aarch64_parse_fmv_features): Add parsing
+ for priority arguments.
+ (aarch64_process_target_version_attr): Update call to
+ aarch64_parse_fmv_features.
+ (get_feature_mask_for_version): Update call to
+ aarch64_parse_fmv_features.
+ (aarch64_compare_version_priority): Add logic to order by priority if present.
+ (aarch64_functions_b_resolvable_from_a): Update call to
+ aarch64_parse_fmv_features.
+ (aarch64_mangle_decl_assembler_name): Update call to
+ aarch64_parse_fmv_features.
+ (dispatch_function_versions): Add logic to sort by priority.
+ (aarch64_same_function_versions): Add diagnostic if invalid use of
+ priority syntax.
+ (aarch64_merge_decl_attributes): Add logic to make suer priority
+ arguments are preserved.
+ (aarch64_check_target_clone_version): Update call to
+ aarch64_parse_fmv_features.
+
+2026-01-07 Alfie Richards <alfie.richards@arm.com>
+
+ * target.def (TARGET_OPTION_SAME_FUNCTION_VERSIONS): Update
+ documentation.
+ * tree.cc (disjoint_version_decls): Change for new NULL parameter
+ to same_function_versions.
+ (diagnose_versioned_decls): Update to pass diagnostic location to
+ same_function_versions.
+ * doc/tm.texi: Regenerate.
+ * config/aarch64/aarch64.cc (aarch64_same_function_versions):
+ Update hook impl for new arguments.
+ * config/riscv/riscv.cc (riscv_same_function_versions): Update
+ hook impl for new arguments.
+ * config/loongarch/loongarch.cc
+ (loongarch_same_function_versions): Likewise
+ * hooks.cc (hook_stringslice_stringslice_unreachable): Changed
+ to...
+ (hook_stringslice_consttree_stringslice_consttree_unreachable):
+ ...this and add extra arguments.
+ * hooks.h (hook_stringslice_stringslice_unreachable): Changed
+ to...
+ (hook_stringslice_consttree_stringslice_consttree_unreachable):
+ and add extra arguments.
+
+2026-01-07 Martin Jambor <mjambor@suse.cz>
+
+ * params.opt (param_ipa_cp_sweeps): New.
+ * doc/invoke.texi (ipa-cp-sweeps): New.
+ * ipa-cp.cc (max_number_sweeps): New.
+ (get_max_overall_size): New parameter cur_sweep, use it and the total
+ number of sweeps from the NODE to calculate the result too.
+ (ipcp_propagate_stage): Get the maximum number of sweeps specified in
+ the corresponding parameter of any possibly affected node.
+ (good_cloning_opportunity_p): Add parameter cur_sweep, adjust the
+ threshold according to it.
+ (decide_about_value): New parameter cur_sweep, pass it to
+ get_max_overall_size and to good_cloning_opportunity_p.
+ (decide_whether_version_node): New parameter cur_sweep, pass it to
+ decide_about_value and get_max_overall_size. Make sure the node is
+ not dead.
+ (ipcp_decision_stage): Make multiple sweeps over the call-graph.
+
+2026-01-07 Martin Jambor <mjambor@suse.cz>
+
+ * ipa-prop.h (ipa_node_params): Remove member do_clone_for_all_contexts.
+ (ipa_node_params::ipa_node_params): Do not initialize
+ do_clone_for_all_contexts.
+ * ipa-cp.cc (gather_context_independent_values): Remove parameter
+ calculate_aggs, calculate them always.
+ (estimate_local_effects): Move the decision whether to clone for
+ all context...
+ (decide_whether_version_node): ...here. Fix dumps.
+ (decide_about_value): Adjust alignment in dumps.
+
+2026-01-07 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/123315
+ * tree-vect-loop.cc (vect_analyze_loop_2): Reset
+ LOOP_VINFO_USING_DECREMENTING_IV_P before retrying.
+
+2026-01-07 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/123221
+ * tree-vect-loop.cc (vectorizable_reduction): When we did not
+ find the non-conversion reduction operation, bail.
+
+2026-01-07 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/123316
+ * tree-vect-loop.cc (vectorizable_reduction): Detect missing
+ PHI patterns for bools.
+
+2026-01-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR debug/123259
+ * toplev.cc (process_options): Guard CTF non-C warning by
+ -Wcomplain-wrong-lang.
+ * doc/invoke.texi (Warning Options, -Wno-complain-wrong-lang):
+ Document effect on -gctf/-gsctf.
+
+2026-01-07 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ PR tree-optimization/123374
+ * gimple-ssa-warn-access.cc (pass_waccess::set_pass_param): Add
+ a second parameter.
+ (pass_waccess::check_call): Skip access checks for waccess2.
+ (pass_waccess::execute): Drop initialization of
+ M_CHECK_DANGLING_P.
+ * passes.def: Adjust.
+
2026-01-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
* tree-profile.cc (tree_profiling): Do not use atomic operations
+2026-01-07 Tobias Burnus <tburnus@baylibre.com>
+
+ * c-omp.cc (c_omp_directives): Uncomment 'groupprivate'.
+ * c-pragma.cc (omp_pragmas): Add PRAGMA_OMP_GROUPPRIVATE.
+ * c-pragma.h (enum pragma_kind): Likewise.
+
2025-12-26 Egas Ribeiro <egas.g.ribeiro@gmail.com>
PR c++/121864
+2026-01-07 Tobias Burnus <tburnus@baylibre.com>
+
+ * c-parser.cc (OMP_GROUPPRIVATE_CLAUSE_MASK,
+ c_parser_omp_groupprivate): New.
+ (c_parser_pragma): Call it.
+ (c_maybe_parse_omp_decl): Uncomment PRAGMA_OMP_GROUPPRIVATE
+ check.
+
2026-01-03 Martin Uecker <uecker@tugraz.at>
PR c/121507
+2026-01-07 Tobias Burnus <tburnus@baylibre.com>
+
+ * parser.cc (OMP_GROUPPRIVATE_CLAUSE_MASK,
+ cp_parser_omp_groupprivate): New.
+ (cp_parser_pragma): Call it.
+ (cp_maybe_parse_omp_decl): Uncomment PRAGMA_OMP_GROUPPRIVATE
+ check.
+
2026-01-03 Jakub Jelinek <jakub@redhat.com>
PR libstdc++/123326
+2026-01-07 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/123071
+ PR fortran/90218
+ * resolve.cc (resolve_typebound_function): If a generic
+ typebound procedure is marked as overridable and all the
+ specific procedures are non-overridable, it is safe to resolve
+ the compcall.
+ * trans-array.cc (gfc_trans_array_constructor_value): PDT
+ structure constructor elements must be finalized.
+ (trans_array_constructor): Set 'finalize_required' for PDT
+ constructors.
+ * trans-decl.cc (gfc_get_symbol_decl): PDT initialization is
+ required in contained namespaces as long as the parent is not
+ a module.
+ (gfc_init_default_pdt): Delete the stmtblock_t argument. Assign
+ a variable 'value' expression using gfc_trans_assignment.
+ Simplifiy the logic around the call to gfc_init_default_dt. In
+ both cases return a tree expression or null tree.
+ (gfc_trans_deferred_vars): Only call gfc_allocate_pdt_comp if
+ gfc_init_default_pdt returns null tree.
+ * trans-expr.cc (gfc_trans_alloc_subarray_assign): Add a static
+ stmtblock_t pointer 'final_block'. Free 'dest' data pointer and
+ add to final_block.
+ (gfc_conv_structure): Set 'final_block' to the se's finalblock.
+ (gfc_trans_assignment_1): Do not deallocate PDT array ctrs.
+ trans-stmt.cc (gfc_trans_allocate): Also deallocate PDT expr3
+ allocatable components.
+ (gfc_trans_deallocate): Add PDT deallocation to se.pre instead
+ of block.
+ * trans-stmt.cc (gfc_trans_allocate): Free the allocatable
+ components of a PDT expr3.
+ (gfc_trans_deallocate): Add 'tmp' to se.pre rather than block.
+
2026-01-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/123029
+2026-01-07 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/90218
+ * gfortran.dg/pdt_79.f03: Used uninitialized warning and change
+ tree scan for 'mapped_tensor.j' to 'Pdttensor_t_4.2.j'.
+ * gfortran.dg/pdt_80.f03: New test.
+
+2026-01-07 Tomas Glozar <tglozar@gmail.com>
+
+ PR target/121535
+ * gcc.target/ia64/pr121535.c: New test.
+
+2026-01-07 Richard Earnshaw <rearnsha@arm.com>
+
+ PR rtl-optimization/121773
+ * gcc.target/arm/pr121773.c: New test.
+
+2026-01-07 Xi Ruoyao <xry111@xry111.site>
+
+ PR target/123320
+ * gcc.target/loongarch/la64/pr123320.c: New test.
+
+2026-01-07 Tobias Burnus <tburnus@baylibre.com>
+
+ * c-c++-common/gomp/groupprivate-1.c: New test.
+
+2026-01-07 Andrew MacLeod <amacleod@redhat.com>
+
+ PR tree-optimization/123300
+ * gcc.dg/pr123300.c: New.
+
+2026-01-07 Andrew MacLeod <amacleod@redhat.com>
+
+ PR tree-optimization/123319
+ * gcc.dg/pr123319.c: New.
+
+2026-01-07 Daniel Barboza <daniel.barboza@oss.qualcomm.com>
+
+ PR tree-optimization/102486
+ * gcc.dg/tree-ssa/pr102486.c: New test.
+
+2026-01-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * gcc.dg/vect/slp-19c.c: Require vect_extract_even_odd.
+
+2026-01-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * gcc.dg/tree-ssa/ssa-dom-cse-2.c (scan-tree-dump): Don't xfail on
+ 64-bit SPARC.
+
+2026-01-07 Richard Biener <rguenther@suse.de>
+
+ PR testsuite/123353
+ PR c/123156
+ * gcc.dg/torture/builtin-shufflevector-pr123156.c: Require le.
+
+2026-01-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR tree-optimization/123197
+ * gcc.dg/vect/vect-71.c: Require vect_hw_misalign.
+
+2026-01-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR tree-optimization/123200
+ * gcc.dg/vect/vect-bool-2.c (scan-tree-dump): Require
+ vect_bool_cmp.
+ * gcc.dg/vect/vect-bool-cmp-4.c: Likewise.
+
+2026-01-07 Alfie Richards <alfie.richards@arm.com>
+
+ * gcc.target/aarch64/fmv_priority3.c: New test.
+ * gcc.target/aarch64/fmv_priority_error1.c: New test.
+ * gcc.target/aarch64/fmv_priority_error2.c: New test.
+
+2026-01-07 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/123315
+ * g++.dg/vect/pr123315.cc: New testcase.
+
+2026-01-07 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/123221
+ * gcc.dg/vect/vect-pr123221.c: New testcase.
+
+2026-01-07 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/123316
+ * gcc.dg/vect/vect-pr123316.c: New testcase.
+
+2026-01-07 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ PR tree-optimization/123374
+ * g++.dg/warn/pr123374.C: New test.
+
2026-01-06 Jeff Law <jeffrey.law@oss.qualcomm.com>
PR target/123269
+2026-01-07 Xinhui Yang <cyan@cyano.uk>
+
+ * config.host (ia64): include unwind-compat only if the system
+ libunwind is being used.
+ * config/ia64/t-linux-libunwind: include libgcc symver definition
+ for libgcc symbols, since it bears the same role as t-linux
+ (except libunwind); Include fde-glibc.c since the unwind
+ implementation requires _Unwind_FindTableEntry in this file.
+ * config/ia64/unwind-ia64.c: protect _Unwind_FindTableEntry inside
+ inihbit_libc ifndefs to allow it to build with newlib or
+ without proper headers.
+
+2026-01-07 Vladimir Vishniakov <volodia@hex-rays.com>
+
+ * config/v850/lib1funcs.S (__return_r26_r31): Use compact
+ add form to adjust stack pointer.
+ (__save_r27_r31): Likewise.
+ (__save_r29_r31): Likewise.
+ (__save_r31): Likewise.
+ (__return_r27_r31): Likewise.
+ (__return_r28_r31): Likewise.
+ (__return_r29_r31): Likewise.
+ (__return_r31): Likewise.
+ (__return_r2_r31): Likewise.
+
+2026-01-07 Vladimir Vishniakov <volodia@hex-rays.com>
+
+ PR target/123403
+ * config/v850/lib1funcs.S (__return_r25_r29): Fix ! __EP__ clause to
+ use SP, not EP.
+ (__return_r2_r31): Fix offsets to match store offsets.
+
2025-12-15 Peter Damianov <peter0x44@disroot.org>
* config/score/crti.S: Delete.
+2026-01-07 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/123100
+ * include/std/sstream (basic_stringbuf::str()&&): Handle the
+ case where _M_string is not being used for the buffer.
+ * testsuite/27_io/basic_stringbuf/str/char/123100.cc: New test.
+
+2026-01-07 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/atomic_wait.h (__wait_args::_M_setup_wait):
+ Remove unreachable return statement.
+
+2026-01-07 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/123406
+ * acinclude.m4 (GLIBCXX_CHECK_STDIO_LOCKING): Override detection
+ of flockfile for non-cygwin newlib targets.
+ * configure: Regenerate.
+
+2026-01-07 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/123378
+ * include/std/barrier (~__tree_barrier_base): Define.
+
+2026-01-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR libstdc++/123183
+ PR libstdc++/123326
+ * libsupc++/exception (std::bad_exception::~bad_exception(),
+ std::bad_exception::what()): Add inline keyword and
+ [[__gnu__::__gnu_inline__]] attribute to the C++26 constexpr
+ exceptions definitions.
+ * libsupc++/exception.h (std::exception::~exception(),
+ std::exception::what()): Likewise.
+ * libsupc++/exception_ptr.h (std::exception_ptr::exception_ptr(void*)):
+ Likewise.
+ * libsupc++/nested_exception.h
+ (std::nested_exception::~nested_exception()): Likewise.
+ * libsupc++/typeinfo (std::bad_cast::~bad_cast(),
+ std::bad_cast::what(), std::bad_typeid::~bad_typeid(),
+ std::bad_typeid::what()): Likewise.
+ * include/bits/new_except.h (std::bad_alloc::~bad_alloc(),
+ std::bad_alloc::what(),
+ std::bad_array_new_length::~bad_array_new_length(),
+ std::bad_array_new_length::what()): Likewise.
+ * include/bits/stdexcept_except.h
+ (std::logic_error::logic_error(const string&),
+ std::logic_error::logic_error(const char*),
+ std::logic_error::~logic_error(), std::logic_error::what(),
+ std::domain_error::domain_error(const string&),
+ std::domain_error::domain_error(const char*),
+ std::invalid_argument::invalid_argument(const string&),
+ std::invalid_argument::invalid_argument(const char*),
+ std::length_error::length_error(const string&),
+ std::length_error::length_error(const char*),
+ std::out_of_range::out_of_range(const string&),
+ std::out_of_range::out_of_range(const char*),
+ std::runtime_error::runtime_error(const string&),
+ std::runtime_error::runtime_error(const char*),
+ std::runtime_error::~runtime_error(), std::runtime_error::what(),
+ std::overflow_error::overflow_error(const string&),
+ std::overflow_error::overflow_error(const char*),
+ std::overflow_error::~overflow_error(),
+ std::underflow_error::underflow_error(const string&),
+ std::underflow_error::underflow_error(const char*),
+ std::underflow_error::~underflow_error()): Likewise.
+ (std::domain_error::~domain_error(),
+ std::invalid_argument::~invalid_argument(),
+ std::length_error::~length_error(),
+ std::out_of_range::~out_of_range()): Likewise. Also change
+ _GLIBCXX_NOTHROW to noexcept on those definitions.
+
\f
Copyright (C) 2026 Free Software Foundation, Inc.