From: GCC Administrator Date: Sat, 1 Mar 2025 13:04:00 +0000 (+0000) Subject: Daily bump. X-Git-Tag: basepoints/gcc-16~1782 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=89c4a0b1958305b92c90a9b3ebde5db16eb67e20;p=thirdparty%2Fgcc.git Daily bump. --- diff --git a/ChangeLog b/ChangeLog index 2eb07cfb83f..9c20a70c844 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2025-02-28 Giuseppe D'Angelo + + * MAINTAINERS: Added myself as write after approval and DCO. + 2025-02-19 Thomas Schwinge * configure.ac (unsupported_languages) [GCN, nvptx]: Add 'ada'. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eb8995fce39..7a29c6b30e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,112 @@ +2025-03-01 Jakub Jelinek + + PR jit/117047 + * acinclude.m4 (gcc_CHECK_ATTRIBUTE_ALIAS): New. + * configure.ac: Add gcc_CHECK_ATTRIBUTE_ALIAS. + * ggc.h (ggc_internal_alloc): Remove ATTRIBUTE_MALLOC from + overload with finalizer pointer. Call ggc_internal_alloc_no_dtor + in inline overload without finalizer pointer. + (ggc_internal_alloc_no_dtor): Declare. + (ggc_internal_cleared_alloc): Remove ATTRIBUTE_MALLOC from + overload with finalizer pointer. Call + ggc_internal_cleared_alloc_no_dtor in inline overload without + finalizer pointer. + (ggc_internal_cleared_alloc_no_dtor): Declare. + (ggc_alloc): Call ggc_internal_alloc_no_dtor if no finalization + is needed. + (ggc_alloc_no_dtor): Call ggc_internal_alloc_no_dtor. + (ggc_cleared_alloc): Call ggc_internal_cleared_alloc_no_dtor if no + finalization is needed. + (ggc_vec_alloc): Call ggc_internal_alloc_no_dtor if no finalization + is needed. + (ggc_cleared_vec_alloc): Call ggc_internal_cleared_alloc_no_dtor if no + finalization is needed. + * ggc-page.cc (ggc_internal_alloc): If HAVE_ATTRIBUTE_ALIAS, turn + overload with finalizer into alias to ggc_internal_alloc_ and + rename it to ... + (ggc_internal_alloc_): ... this, make it extern "C". + (ggc_internal_alloc_no_dtor): New alias if HAVE_ATTRIBUTE_ALIAS, + otherwise new noinline wrapper. + * ggc-common.cc (ggc_internal_cleared_alloc): If HAVE_ATTRIBUTE_ALIAS, + turn overload with finalizer into alias to ggc_internal_alloc_ and + rename it to ... + (ggc_internal_cleared_alloc_): ... this, make it extern "C". + (ggc_internal_cleared_alloc_no_dtor): New alias if + HAVE_ATTRIBUTE_ALIAS, otherwise new noinline wrapper. + * ggc-none.cc (ggc_internal_alloc): If HAVE_ATTRIBUTE_ALIAS, turn + overload with finalizer into alias to ggc_internal_alloc_ and + rename it to ... + (ggc_internal_alloc_): ... this, make it extern "C". + (ggc_internal_alloc_no_dtor): New alias if HAVE_ATTRIBUTE_ALIAS, + otherwise new wrapper. + (ggc_internal_cleared_alloc): If HAVE_ATTRIBUTE_ALIAS, turn overload + with finalizer into alias to ggc_internal_alloc_ and rename it to ... + (ggc_internal_cleared_alloc_): ... this, make it extern "C". + (ggc_internal_cleared_alloc_no_dtor): New alias if + HAVE_ATTRIBUTE_ALIAS, otherwise new wrapper. + * genmatch.cc (ggc_internal_cleared_alloc, ggc_free): Formatting fix. + (ggc_internal_cleared_alloc_no_dtor): Define. + * config.in: Regenerate. + * configure: Regenerate. + +2025-03-01 Jakub Jelinek + + PR middle-end/115871 + * omp-simd-clone.cc (simd_clone_adjust): For SIMD_CLONE_ARG_TYPE_MASK + and sc->mask_mode not VOIDmode, set elem_type to the characteristic + type rather than boolean_type_node. + +2025-03-01 Jan Dubiec + + PR target/109189 + * config/h8300/h8300.cc (h8300_print_operand): Replace %ld format + strings with HOST_WIDE_INT_PRINT_DEC macro in order to silence + -Wformat warnings when building on Windows/MinGW64. + +2025-02-28 Martin Jambor + + PR ipa/118243 + * ipa-sra.cc (pull_accesses_from_callee): New parameters + caller_ipcp_ts and param_idx. Check that scalar pulled accesses would + not clash with a known IPA-CP aggregate constant. + (param_splitting_across_edge): Pass IPA-CP transformation summary and + caller parameter index to pull_accesses_from_callee. + +2025-02-28 Richard Biener + + PR ipa/111245 + * ipa-modref.cc (modref_access_analysis::analyze_store): Do + not guard the check of whether the stmt could throw by + cfun->can_throw_non_call_exceptions. + +2025-02-28 Jakub Jelinek + + PR rtl-optimization/117712 + * expr.cc (force_operand): Handle {,UNSIGNED_}FIX with + FIX operand using expand_fix on the inner FIX operand. + +2025-02-28 Richard Biener + + PR tree-optimization/87984 + * tree-ssa-dom.cc (dom_opt_dom_walker::optimize_stmt): Do + not perform redundant store elimination to hard register + variables. + * tree-ssa-sccvn.cc (eliminate_dom_walker::eliminate_stmt): + Likewise. + +2025-02-28 Richard Biener + + PR middle-end/66279 + * gimplify.cc (gimplify_asm_expr): Copy TREE_PURPOSE before + rewriting it for "+" processing. + +2025-02-28 H.J. Lu + + * config/i386/i386.h (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): + Moved to ... + * config/i386/i386.cc (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): + Here. + 2025-02-27 Pan Li PR target/118931 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index e392026598c..a607fb00164 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250228 +20250301 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index fea2e37faf4..5d861376944 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2025-02-28 Jakub Jelinek + + * c.opt (Wc++26-extensions): Add CppReason(CPP_W_CXX26_EXTENSIONS). + * c-cppbuiltin.cc (c_cpp_builtins): Predefine __cpp_pp_embed=202502 + for C++26. + 2025-02-13 Jakub Jelinek PR c++/118822 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 3f6d6697e38..5408c1ec4ad 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,33 @@ +2025-02-28 Marek Polacek + + PR c++/114913 + PR c++/110822 + * constexpr.cc (replace_decl_r): If we've replaced something + inside of an ADDR_EXPR, call cxx_mark_addressable and + recompute_tree_invariant_for_addr_expr on the resulting ADDR_EXPR. + +2025-02-28 Marek Polacek + + PR c++/118986 + * constexpr.cc (cxx_eval_call_expression): Check that the types match + before calling replace_decl, if not, set *non_constant_p. + (maybe_constant_init_1): Don't strip INIT_EXPR if it would change the + type of the expression. + +2025-02-28 Patrick Palka + + PR c++/119038 + * lambda.cc (maybe_generic_this_capture): Consider xobj + member functions as well, not just iobj. Update function + comment. + +2025-02-28 Jakub Jelinek + + PR c++/119045 + * constexpr.cc (cxx_eval_store_expression) : + Assert that refs->is_empty () rather than probe == target. + (cxx_eval_store_expression) : Likewise. + 2025-02-27 Marek Polacek PR c++/118928 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index d2096632b8c..5a88ffa149c 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,20 @@ +2025-02-28 Iain Buclaw + + PR d/116961 + * d-codegen.cc (build_float_cst): Change new_value type from real_t to + real_value. + * d-ctfloat.cc (CTFloat::fabs): Default initialize the return value. + (CTFloat::ldexp): Likewise. + (CTFloat::parse): Likewise. + * d-longdouble.cc (longdouble::add): Likewise. + (longdouble::sub): Likewise. + (longdouble::mul): Likewise. + (longdouble::div): Likewise. + (longdouble::mod): Likewise. + (longdouble::neg): Likewise. + * d-port.cc (Port::isFloat32LiteralOutOfRange): Likewise. + (Port::isFloat64LiteralOutOfRange): Likewise. + 2025-02-25 Iain Buclaw PR d/118654 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index b04361003d2..6784db479ff 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2025-02-28 Andre Vehreschild + + PR fortran/118730 + * resolve.cc: Mark unused derived type variable with finalizers + referenced to execute finalizer when leaving scope. + 2025-02-27 Andre Vehreschild PR fortran/118789 diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index ff4bf7f4f8c..ee539159b10 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,9 @@ +2025-02-28 Richard Biener + + PR lto/91299 + * lto-symtab.cc (lto_symtab_merge_symbols): Set DECL_EXTERNAL + only after calling get_availability. + 2025-02-11 Martin Jambor PR lto/118125 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 680115cb422..967f5c889c6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,99 @@ +2025-03-01 Jakub Jelinek + + PR middle-end/115871 + * gcc.dg/gomp/simd-clones-8.c: New test. + +2025-03-01 Xi Ruoyao + + * c-c++-common/toplevel-asm-1.c: Use %cc3 %cc4 instead of %c3 + %c4 on LoongArch. + +2025-02-28 Iain Buclaw + + PR d/116961 + * gdc.dg/pr116961.d: New test. + +2025-02-28 Marek Polacek + + PR c++/114913 + PR c++/110822 + * g++.dg/cpp0x/constexpr-nsdmi4.C: New test. + * g++.dg/cpp0x/constexpr-nsdmi5.C: New test. + +2025-02-28 Marek Polacek + + PR c++/118986 + * g++.dg/cpp2a/constexpr-prvalue1.C: New test. + +2025-02-28 Martin Jambor + + PR ipa/118243 + * g++.dg/ipa/pr118243.C: New test. + +2025-02-28 Patrick Palka + + PR c++/119038 + * g++.dg/cpp23/explicit-obj-lambda15.C: New test. + +2025-02-28 Jakub Jelinek + + PR c++/119045 + * g++.dg/cpp1y/constexpr-complex2.C: New test. + +2025-02-28 Jakub Jelinek + + * g++.dg/cpp/embed-1.C: Adjust for pedwarn wording change and don't + expect any error for C++26. + * g++.dg/cpp/embed-2.C: Adjust for pedwarn wording change and don't + expect any warning for C++26. + * g++.dg/cpp26/feat-cxx26.C: Test __cpp_pp_embed value. + * gcc.dg/cpp/embed-17.c: New test. + +2025-02-28 Richard Biener + + PR lto/91299 + * gcc.dg/lto/pr91299_0.c: New testcase. + * gcc.dg/lto/pr91299_1.c: Likewise. + +2025-02-28 Richard Biener + + PR ipa/111245 + * g++.dg/torture/pr111245.C: New testcase. + +2025-02-28 Jakub Jelinek + + PR rtl-optimization/117712 + * gcc.dg/pr117712.c: New test. + +2025-02-28 Richard Biener + + PR tree-optimization/87984 + * gcc.target/i386/pr87984.c: New testcase. + +2025-02-28 Richard Biener + + PR middle-end/66279 + * g++.dg/pr66279.C: New testcase. + +2025-02-28 Jakub Jelinek + + * gcc.target/i386/strub-pr118006.c: Remove -m32 from dg-options. + +2025-02-28 Jakub Jelinek + + PR target/118940 + * gcc.target/i386/pr118940.c: Drop -w, -g and -m32 from dg-options, move + -march=i386 -mregparm=3 to dg-additional-options for ia32 and -fno-pie + to dg-additional-options for pie. Reduce the test. + +2025-02-28 Andre Vehreschild + + PR fortran/118730 + * gfortran.dg/class_array_15.f03: Remove unused variable. + * gfortran.dg/coarray_poly_7.f90: Adapt scan-tree-dump expr. + * gfortran.dg/coarray_poly_8.f90: Same. + * gfortran.dg/finalize_60.f90: New test. + 2025-02-27 Pan Li PR target/118931 diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index f21855c769c..ead01f8a74c 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,12 @@ +2025-02-28 Jakub Jelinek + + * include/cpplib.h (enum cpp_warning_reason): Add + CPP_W_CXX26_EXTENSIONS enumerator. + * init.cc (lang_defaults): Set embed for GNUCXX26 and CXX26. + * directives.cc (do_embed): Adjust pedwarn wording for embed in C++, + use cpp_pedwarning instead of cpp_error and add CPP_W_C11_C23_COMPAT + warning of cpp_pedwarning hasn't diagnosed anything. + 2024-12-24 Lewis Hyatt * macro.cc (tokens_buff_new): Fix length argument to XNEWVEC. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8261688daea..7b4561a37a4 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,59 @@ +2025-02-28 Jonathan Wakely + + PR libstdc++/106612 + * include/bits/iterator_concepts.h (_IterMove::__iter_ref_t): + New alias template. + (_IterMove::__result): Use __iter_ref_t instead of + std::iter_reference_t. + (_IterMove::__type): Remove incorrect __dereferenceable + constraint. + (_IterMove::operator()): Likewise. Add correct constraints. Use + __iter_ref_t instead of std::iter_reference_t. Forward parameter + as correct value category. + (iter_swap): Add comments. + * testsuite/24_iterators/customization_points/iter_move.cc: Test + that iter_move is found by ADL and that rvalue arguments are + handled correctly. + +2025-02-28 Jonathan Wakely + + PR libstdc++/105609 + * include/bits/ranges_algobase.h (__detail::__assign_one): New + helper function. + (__copy_or_move, __copy_or_move_backward): Use new function + instead of std::__assign_one. + * testsuite/25_algorithms/move/constrained.cc: Check that + ADL iter_move is used in preference to std::move. + * testsuite/25_algorithms/move_backward/constrained.cc: + Likewise. + +2025-02-28 Jonathan Wakely + + PR libstdc++/112803 + * include/std/ranges (ranges::to): Add static assertions to + enforce Mandates conditions. + * testsuite/std/ranges/conv/112803.cc: New test. + +2025-02-28 Patrick Palka + + PR libstdc++/104606 + * include/std/optional (operator<=>): Revert r14-9771 change. + Add constraint checking the validity of the return type + compare_three_way_result_t before the three_way_comparable_with + constraint. + +2025-02-28 Patrick Palka + + PR libstdc++/112490 + * include/bits/stl_iterator.h (basic_const_iterator::operator<): + Replace non-dependent basic_const_iterator function parameter with + a dependent one of type basic_const_iterator<_It3> where _It3 + matches _It. + (basic_const_iterator::operator>): Likewise. + (basic_const_iterator::operator<=): Likewise. + (basic_const_iterator::operator>=): Likewise. + * testsuite/24_iterators/const_iterator/112490.cc: New test. + 2025-02-27 Jonathan Wakely * include/std/stacktrace (_Impl::_M_allocate): Fix outdated