]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 15 May 2025 00:19:47 +0000 (00:19 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 15 May 2025 00:19:47 +0000 (00:19 +0000)
ChangeLog
gcc/ChangeLog
gcc/DATESTAMP
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/po/ChangeLog
gcc/testsuite/ChangeLog
include/ChangeLog
libcpp/po/ChangeLog
libgomp/ChangeLog
libstdc++-v3/ChangeLog

index 9c7c932e2f0e0f3f704b3aa6e9d3b1e66b827cfb..4f70252745c5bbcde70ba52e187246bcb7ed4016 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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.
index d475eee7461eeacd915b371f7647476ad1781618..95391846b6d99a4aa1a0bdf7dafe2b8497d00de1 100644 (file)
@@ -1,3 +1,132 @@
+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
index cfb9239653b041629e3ad7fa8c88534be3f4a4f5..63e8d5b6f5bdafa3f6bc3f68c33fff218219318e 100644 (file)
@@ -1 +1 @@
-20250514
+20250515
index 764e15801d7ed0f736775ef5528d9069a1324a03..340552f5a021652f392776eb8402f733324bd710 100644 (file)
@@ -1,3 +1,39 @@
+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
index 8b82b20cadac505b489846ae62963eb94e849b73..15b51e12bc2b20b9442ee38ccb9fbeaf7c2b11a6 100644 (file)
@@ -1,3 +1,30 @@
+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>
 
index cfc235c2819641efeb6857d2ecaf5bf068b7fc46..809dc01d54c3ef1a8dbd634af1da5593b6691f12 100644 (file)
@@ -1,3 +1,7 @@
+2025-05-14  Joseph Myers  <josmyers@redhat.com>
+
+       * sv.po: Update.
+
 2025-05-12  Joseph Myers  <josmyers@redhat.com>
 
        * sv.po: Update.
index 6a9c9c74205983b6594e7549d6ff24178142afad..69f9b6e959f175663466221eb7bcd35d8ed6f499 100644 (file)
@@ -1,3 +1,47 @@
+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
index f3d4cbde6cfefdd1f60b94fd92999f6a2428bfa1..310a5d5d43cb3135faf045c62dd81c06cff30527 100644 (file)
@@ -1,3 +1,7 @@
+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
index 662b85c9288b8d2f850d7b6c1fcc6d6370a96d4e..262bcb1edb610b04fee82cd9a600d9d6005fc135 100644 (file)
@@ -1,3 +1,7 @@
+2025-05-14  Joseph Myers  <josmyers@redhat.com>
+
+       * es.po: Update.
+
 2025-05-12  Joseph Myers  <josmyers@redhat.com>
 
        * es.po: Update.
index 85038201eca0bf7d191b33ec0a51532fb9ed1e4b..b9cda82b4370ce7895e6eae730f859bae4131e7f 100644 (file)
@@ -1,3 +1,16 @@
+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
index 450b931c9afc62d59aa1d9c5f9abdb401fc06b78..464bd452355021dd433e1a8fbb6eaaf46e566ac9 100644 (file)
@@ -1,3 +1,110 @@
+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