From 89c4a0b1958305b92c90a9b3ebde5db16eb67e20 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Sat, 1 Mar 2025 13:04:00 +0000 Subject: Daily bump. --- gcc/ChangeLog | 109 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 6 +++ gcc/cp/ChangeLog | 30 +++++++++++++ gcc/d/ChangeLog | 17 ++++++++ gcc/fortran/ChangeLog | 6 +++ gcc/lto/ChangeLog | 6 +++ gcc/testsuite/ChangeLog | 96 ++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 271 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eb8995f..7a29c6b 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 e392026..a607fb00 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250228 +20250301 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index fea2e37..5d86137 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 3f6d669..5408c1e 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 d209663..5a88ffa 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 b043610..6784db4 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 ff4bf7f..ee53915 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 680115c..967f5c8 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 -- cgit v1.1