+2025-05-14 Richard Earnshaw <rearnsha@arm.com>
+
+ * MAINTAINERS: Marcus Shawcroft has resigned from the project.
+
2025-04-28 Kwok Cheung Yeung <kcyeung@baylibre.com>
* MAINTAINERS (kcy): Add gcc.gnu.org username.
+2025-05-14 Richard Biener <rguenther@suse.de>
+
+ * tree-vectorizer.h (record_stmt_cost): Remove mixed
+ stmt_vec_info/SLP node inline overload.
+ * tree-vect-stmts.cc (vectorizable_store): For costing
+ vector stmts only pass SLP node to record_stmt_cost.
+ (vectorizable_load): Likewise.
+
+2025-05-14 Richard Biener <rguenther@suse.de>
+
+ * tree-vect-stmts.cc (vect_get_store_cost): Compute vectype based
+ on whether we got SLP node or stmt_vec_info and use the full
+ record_stmt_cost API.
+ (vect_get_load_cost): Likewise.
+
+2025-05-14 Kito Cheng <kito.cheng@sifive.com>
+
+ * common/config/riscv/riscv-common.cc
+ (riscv_subset_list::riscv_subset_list): Init m_allow_adding_dup.
+
+2025-05-14 Jiawei <jiawei@iscas.ac.cn>
+
+ * config/riscv/riscv-ext.def: New extension defs.
+ * config/riscv/riscv-ext.opt: Ditto.
+ * doc/riscv-ext.texi: Ditto.
+
+2025-05-14 Kito Cheng <kito.cheng@sifive.com>
+
+ * config/riscv/t-riscv: Drop duplicate build rule for
+ riscv-ext.opt.
+
+2025-05-14 Kito Cheng <kito.cheng@sifive.com>
+
+ * config/riscv/riscv-ext.opt.urls: Regenerate.
+
+2025-05-14 Andrew Pinski <quic_apinski@quicinc.com>
+
+ * tree-cfgcleanup.cc (canonicalize_bool_cond): New function.
+ (cleanup_control_expr_graph): Call canonicalize_bool_cond for GIMPLE_COND.
+ * tree-cfgcleanup.h (canonicalize_bool_cond): New declaration.
+ * tree-ssa-forwprop.cc (forward_propagate_into_gimple_cond):
+ Call canonicalize_bool_cond.
+
+2025-05-14 Andrew Pinski <quic_apinski@quicinc.com>
+
+ * gimple.h (gimple_cond_set_code): Add assert of the code
+ being a comparison.
+
+2025-05-14 Andrew Pinski <quic_apinski@quicinc.com>
+
+ * tree-ssa-forwprop.cc (forward_propagate_into_gimple_cond): Assert
+ that gimple_cond_code is always a comparison.
+
+2025-05-14 Andrew Pinski <quic_apinski@quicinc.com>
+
+ * gimple-fold.cc (replace_stmt_with_simplification): Check cfun before
+ accessing cfun.
+
+2025-05-14 Andrew Pinski <quic_apinski@quicinc.com>
+
+ * tree-ssa-forwprop.cc (pass_forwprop::execute): Move marking of to_purge bb
+ and marking of fixup statements to after the local optimizations.
+
+2025-05-14 Andrew Pinski <quic_apinski@quicinc.com>
+
+ * tree-ssa-forwprop.cc (pass_forwprop::execute): Use `|=` for
+ changed on the local folding.
+
+2025-05-14 Richard Biener <rguenther@suse.de>
+
+ * tree-vectorizer.h (record_stmt_cost): Add overload with
+ only SLP node and no vector type.
+ * tree-vect-stmts.cc (record_stmt_cost): Use
+ SLP_TREE_REPRESENTATIVE for stmt_vec_info.
+ (vect_model_simple_cost): Do not get stmt_vec_info argument
+ and adjust.
+ (vectorizable_call): Adjust.
+ (vectorizable_simd_clone_call): Likewise.
+ (vectorizable_conversion): Likewise.
+ (vectorizable_assignment): Likewise.
+ (vectorizable_shift): Likewise.
+ (vectorizable_operation): Likewise.
+ (vectorizable_condition): Likewise.
+ (vectorizable_comparison_1): Likewise.
+ * tree-vect-slp.cc (vect_prologue_cost_for_slp): Use
+ full-blown record_stmt_cost.
+
+2025-05-14 liuhongt <hongtao.liu@intel.com>
+
+ PR target/120215
+ * config/i386/i386-features.cc
+ (scalar_chain::mark_dual_mode_def): Weight
+ cost of integer<->sse move with bb frequency when it's
+ optimized_for_speed_p.
+ (general_scalar_chain::compute_convert_gain): Ditto, and
+ adjust function prototype to return true/false when cost model
+ is profitable or not.
+ (timode_scalar_chain::compute_convert_gain): Ditto.
+ (convert_scalars_to_vector): Adjust after the upper two
+ function prototype are changed.
+ * config/i386/i386-features.h (class scalar_chain): Change
+ n_integer_to_sse/n_sse_to_integer to cost_sse_integer, and add
+ weighted_cost_sse_integer.
+ (class general_scalar_chain): Adjust prototype to return bool
+ intead of int.
+ (class timode_scalar_chain): Ditto.
+
+2025-05-14 Martin Jambor <mjambor@suse.cz>
+
+ PR tree-optimization/111873
+ * tree-sra.cc (sra_modify_expr): When processing a load which has
+ a type-incompatible replacement, do not store the contents of the
+ replacement into the original aggregate when that aggregate is
+ const.
+
+2025-05-14 Stefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
+
+ * config/s390/vector.md: Fix tf_to_fprx2 by using vlr instead of
+ ldr.
+
+2025-05-14 liuhongt <hongtao.liu@intel.com>
+
+ PR tree-optimization/103771
+ * match.pd (cond_expr_convert_p): Extend the match to handle
+ scalar floating point type.
+ * tree-vect-patterns.cc
+ (vect_recog_cond_expr_convert_pattern): Handle floating point
+ type.
+
2025-05-13 Andrew Pinski <quic_apinski@quicinc.com>
PR tree-optimization/119903
+2025-05-14 Ville Voutilainen <ville.voutilainen@gmail.com>
+
+ * cp-gimplify.cc (cp_fold): Remove a remnant comment.
+
+2025-05-14 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/120125
+ * module.cc (trees_out::write_function_def): Only set
+ DECL_NOT_REALLY_EXTERN if the importer might need to emit it.
+ * optimize.cc (maybe_thunk_body): Don't assume 'fn' has a cgraph
+ node created.
+
+2025-05-14 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/119864
+ * decl2.cc (start_objects): Only use module initialized for
+ host.
+ (c_parse_final_cleanups): Don't always create an OMP offload
+ init function in modules.
+
+2025-05-14 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ * name-lookup.cc (lookup_imported_hidden_friend): Add back
+ lazy_load_pendings with comment.
+
+2025-05-14 Ville Voutilainen <ville.voutilainen@gmail.com>
+
+ * cp-gimplify.cc (cp_fold): Add to_underlying.
+
+2025-05-14 Owen Avery <powerboat9.gamer@gmail.com>
+ Jason Merrill <jason@redhat.com>
+
+ * method.cc (synthesized_method_walk): Check whether
+ -Wvirtual-move-assign is enabled at the location of a base
+ class's move assignment operator.
+
2025-05-12 Jason Merrill <jason@redhat.com>
PR c++/120012
+2025-05-14 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/120139
+ * dump-parse-tree.cc (get_c_type_name): If no constant
+ size of an array exists, output an asterisk.
+
+2025-05-14 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/120107
+ * dump-parse-tree.cc (write_type): Do not dump non-interoperable
+ types.
+
+2025-05-14 Tobias Burnus <tburnus@baylibre.com>
+
+ PR fortran/120225
+ * simplify.cc (gfc_simplify_cotand): Fix used argument in
+ mpfr_tanu call.
+
+2025-05-14 Tobias Burnus <tburnus@baylibre.com>
+
+ PR fortran/120225
+ * simplify.cc: Include "trigd_fe.inc" only with MPFR < 4.2.0.
+ (rad2deg, rad2deg): Only define if MPFR < 4.2.0.
+ (gfc_simplify_acosd, gfc_simplify_asind, gfc_simplify_atand,
+ gfc_simplify_atan2d, gfc_simplify_cosd, gfc_simplify_tand,
+ gfc_simplify_cotand): Use mpfr_...u functions with MPFR >= 4.2.0.
+
2025-05-13 Yuao Ma <c8ef@outlook.com>
Steven G. Kargl <kargl@gcc.gnu.org>
+2025-05-14 Joseph Myers <josmyers@redhat.com>
+
+ * sv.po: Update.
+
2025-05-12 Joseph Myers <josmyers@redhat.com>
* sv.po: Update.
+2025-05-14 Simon Martin <simon@nasilyan.com>
+
+ PR c++/120126
+ * g++.dg/cpp0x/lambda/lambda-ice33.C: New test.
+
+2025-05-14 Jiawei <jiawei@iscas.ac.cn>
+
+ * gcc.target/riscv/arch-55.c: New test.
+
+2025-05-14 Martin Jambor <mjambor@suse.cz>
+
+ * gcc.dg/ipa/pr120044-1.c: New test.
+ * gcc.dg/ipa/pr120044-2.c: Likewise.
+ * gcc.dg/tree-ssa/pr114864.c: Likewise.
+
+2025-05-14 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/120125
+ * g++.dg/modules/clone-4_a.C: New test.
+ * g++.dg/modules/clone-4_b.C: New test.
+
+2025-05-14 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/119864
+ * g++.dg/modules/openmp-1.C: New test.
+
+2025-05-14 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ * g++.dg/modules/tpl-friend-19_a.C: New test.
+ * g++.dg/modules/tpl-friend-19_b.C: New test.
+
+2025-05-14 Ville Voutilainen <ville.voutilainen@gmail.com>
+
+ * g++.dg/opt/pr96780_cpp23.C: New.
+
+2025-05-14 Owen Avery <powerboat9.gamer@gmail.com>
+ Jason Merrill <jason@redhat.com>
+
+ * g++.dg/warn/ignore-virtual-move-assign.C: New test.
+
+2025-05-14 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/pr103771-4.c: New test.
+
2025-05-13 Tobias Burnus <tburnus@baylibre.com>
PR fortran/113413
+2025-05-14 Andreas Schwab <schwab@suse.de>
+
+ * libiberty.h (mkstemps): Remove duplicate.
+
2025-03-29 Iain Sandoe <iain@sandoe.co.uk>
PR cobol/119283
+2025-05-14 Joseph Myers <josmyers@redhat.com>
+
+ * es.po: Update.
+
2025-05-12 Joseph Myers <josmyers@redhat.com>
* es.po: Update.
+2025-05-14 Tobias Burnus <tburnus@baylibre.com>
+
+ * target.c (gomp_attach_pointer): Return bool; accept additional
+ bool to optionally silence the fatal pointee-not-found error.
+ (gomp_map_vars_internal): If the pointee could not be found,
+ check whether it was mapped as GOMP_MAP_ZERO_LEN_ARRAY_SECTION.
+ * libgomp.h (gomp_attach_pointer): Update prototype.
+ * oacc-mem.c (acc_attach_async, goacc_enter_data_internal): Update
+ calls.
+ * testsuite/libgomp.c/target-map-zero-sized.c: New test.
+ * testsuite/libgomp.c/target-map-zero-sized-2.c: New test.
+ * testsuite/libgomp.c/target-map-zero-sized-3.c: New test.
+
2025-05-12 Thomas Schwinge <tschwinge@baylibre.com>
PR target/119692
+2025-05-14 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ PR libstdc++/119125
+ * include/bits/move_only_function.h: Move to...
+ * include/bits/funcwrap.h: ...here.
+ * doc/doxygen/stdheader.cc (init_map): Replaced move_only_function.h
+ with funcwrap.h, and changed include guard to use feature test macro.
+ Move bits/version.h include before others.
+ * include/Makefile.am: Likewise.
+ * include/Makefile.in: Likewise.
+ * include/std/functional: Likewise.
+
+2025-05-14 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ PR libstdc++/119125
+ * doc/doxygen/stdheader.cc: Addded cpyfunc_impl.h header.
+ * include/Makefile.am: Add bits cpyfunc_impl.h.
+ * include/Makefile.in: Add bits cpyfunc_impl.h.
+ * include/bits/cpyfunc_impl.h: New file.
+ * include/bits/mofunc_impl.h: Mention LWG 4255.
+ * include/bits/move_only_function.h: Update header description
+ and change guard to also check __glibcxx_copyable_function.
+ (_Manager::_Func): Remove noexcept.
+ (std::__is_polymorphic_function_v<move_only_function<_Tp>>)
+ (__variant::_Never_valueless_alt<std::move_only_function<_Signature...>>)
+ (move_only_function) [__glibcxx_move_only_function]: Adjust guard.
+ (std::__is_polymorphic_function_v<copyable_function<_Tp>>)
+ (__variant::_Never_valueless_alt<std::copyable_function<_Signature...>>)
+ (__polyfunc::_Cpy_base, std::copyable_function)
+ [__glibcxx_copyable_function]: Define.
+ * include/bits/version.def: Define copyable_function.
+ * include/bits/version.h: Regenerate.
+ * include/std/functional: Define __cpp_lib_copyable_function.
+ * src/c++23/std.cc.in (copyable_function)
+ [__cpp_lib_copyable_function]: Export.
+ * testsuite/20_util/copyable_function/call.cc: New test based on
+ move_only_function tests.
+ * testsuite/20_util/copyable_function/cons.cc: New test based on
+ move_only_function tests.
+ * testsuite/20_util/copyable_function/conv.cc: New test based on
+ move_only_function tests.
+ * testsuite/20_util/copyable_function/copy.cc: New test.
+ * testsuite/20_util/copyable_function/move.cc: New test based on
+ move_only_function tests.
+
+2025-05-14 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ PR libstdc++/119125
+ * include/bits/mofunc_impl.h: (std::move_only_function): Adjusted for
+ changes in bits/move_only_function.h
+ (move_only_function::move_only_function(_Fn&&)): Special case
+ move_only_functions with same invoker.
+ (move_only_function::operator=(move_only_function&&)): Handle self
+ assigment.
+ * include/bits/move_only_function.h (__polyfunc::_Ptrs)
+ (__polyfunc::_Storage): Refactored from _Mo_func::_Storage.
+ (__polyfunc::__param_t): Moved from move_only_function::__param_t.
+ (__polyfunc::_Base_invoker, __polyfunc::_Invoke): Refactored from
+ move_only_function::_S_invoke.
+ (__polyfunc::_Manager): Refactored from _Mo_func::_S_manager.
+ (std::_Mofunc_base): Moved into __polyfunc::_Mo_base with parts
+ extracted to __polyfunc::_Storage and __polyfunc::_Manager.
+ (__polyfunc::__deref_as, __polyfunc::__invoker_of)
+ (__polyfunc::__base_of, __polyfunc::__is_invoker_convertible): Define.
+ (std::__is_move_only_function_v): Renamed to
+ __is_polymorphic_function_v.
+ (std::__is_polymorphic_function_v): Renamed from
+ __is_move_only_function_v.
+ * testsuite/20_util/move_only_function/call.cc: Test for
+ functions pointers.
+ * testsuite/20_util/move_only_function/conv.cc: New test.
+ * testsuite/20_util/move_only_function/move.cc: Tests for
+ self assigment.
+
+2025-05-14 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ PR libstdc++/119246
+ * include/std/format (__format::__bflt16_t): Define.
+ (_GLIBCXX_FORMAT_F128): Separate value for cases where _Float128
+ is used.
+ (__format::__float128_t): Renamed to __format::__flt128_t.
+ (std::formatter<_Float128, _CharT>): Define always if there is
+ formattable 128bit float.
+ (std::formatter<__float128, _CharT>): Define.
+ (_Arg_type::_Arg_f128): Rename to _Arg_float128 and adjust value.
+ (_Arg_type::_Arg_ibm128): Change value to _Arg_ldbl.
+ (_Arg_type::_Arg_ieee128): Define as alias to _Arg_float128.
+ (_Arg_value::_M_f128): Replaced with _M_ieee128 and _M_float128.
+ (_Arg_value::_M_ieee128, _Arg_value::_M_float128)
+ (_Arg_value::_M_bf16, _Arg_value::_M_f16, _Arg_value::_M_f32)
+ (_Arg_value::_M_f64): Define.
+ (_Arg_value::_S_get, basic_format_arg::_S_to_enum): Handle __bflt16,
+ _Float16, _Float32, _Float64, and __float128 types.
+ (basic_format_arg::_S_to_arg_type): Preserve _bflt16, _Float16,
+ _Float32, _Float64 and __float128 types.
+ (basic_format_arg::_M_visit): Handle _Arg_float128, _Arg_ieee128,
+ _Arg_b16, _Arg_f16, _Arg_f32, _Arg_f64.
+ * testsuite/std/format/arguments/args.cc: Updated to illustrate
+ that extended floating point types use handles now. Added test
+ for __float128.
+ * testsuite/std/format/parse_ctx.cc: Extended test to cover class
+ to check_dynamic_spec with floating point types and handles.
+
+2025-05-14 Ville Voutilainen <ville.voutilainen@gmail.com>
+
+ * include/std/utility (to_underlying): Add the __always_inline__ attribute.
+
2025-05-12 Thomas Schwinge <tschwinge@baylibre.com>
PR target/119645