aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2025-03-01 13:04:00 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2025-03-01 13:04:00 +0000
commit89c4a0b1958305b92c90a9b3ebde5db16eb67e20 (patch)
tree2fe8f5704609300f3014485098a1699b98b282fe /gcc
parent8c15a6cefa0d1f8ec12701af1f528f473c33ff6b (diff)
downloadgcc-89c4a0b1958305b92c90a9b3ebde5db16eb67e20.zip
gcc-89c4a0b1958305b92c90a9b3ebde5db16eb67e20.tar.gz
gcc-89c4a0b1958305b92c90a9b3ebde5db16eb67e20.tar.bz2
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog109
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog6
-rw-r--r--gcc/cp/ChangeLog30
-rw-r--r--gcc/d/ChangeLog17
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/lto/ChangeLog6
-rw-r--r--gcc/testsuite/ChangeLog96
8 files changed, 271 insertions, 1 deletions
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 <jakub@redhat.com>
+
+ 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 <jakub@redhat.com>
+
+ 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 <jdx@o2.pl>
+
+ 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 <mjambor@suse.cz>
+
+ 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 <rguenther@suse.de>
+
+ 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 <jakub@redhat.com>
+
+ 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 <rguenther@suse.de>
+
+ 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 <rguenther@suse.de>
+
+ PR middle-end/66279
+ * gimplify.cc (gimplify_asm_expr): Copy TREE_PURPOSE before
+ rewriting it for "+" processing.
+
+2025-02-28 H.J. Lu <hjl.tools@gmail.com>
+
+ * 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 <pan2.li@intel.com>
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 <jakub@redhat.com>
+
+ * 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 <jakub@redhat.com>
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 <polacek@redhat.com>
+
+ 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 <polacek@redhat.com>
+
+ 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 <ppalka@redhat.com>
+
+ 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 <jakub@redhat.com>
+
+ PR c++/119045
+ * constexpr.cc (cxx_eval_store_expression) <case REALPART_EXPR>:
+ Assert that refs->is_empty () rather than probe == target.
+ (cxx_eval_store_expression) <case IMAGPART_EXPR>: Likewise.
+
2025-02-27 Marek Polacek <polacek@redhat.com>
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 <ibuclaw@gdcproject.org>
+
+ 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 <ibuclaw@gdcproject.org>
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 <vehre@gcc.gnu.org>
+
+ PR fortran/118730
+ * resolve.cc: Mark unused derived type variable with finalizers
+ referenced to execute finalizer when leaving scope.
+
2025-02-27 Andre Vehreschild <vehre@gcc.gnu.org>
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 <rguenther@suse.de>
+
+ PR lto/91299
+ * lto-symtab.cc (lto_symtab_merge_symbols): Set DECL_EXTERNAL
+ only after calling get_availability.
+
2025-02-11 Martin Jambor <mjambor@suse.cz>
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 <jakub@redhat.com>
+
+ PR middle-end/115871
+ * gcc.dg/gomp/simd-clones-8.c: New test.
+
+2025-03-01 Xi Ruoyao <xry111@xry111.site>
+
+ * c-c++-common/toplevel-asm-1.c: Use %cc3 %cc4 instead of %c3
+ %c4 on LoongArch.
+
+2025-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ PR d/116961
+ * gdc.dg/pr116961.d: New test.
+
+2025-02-28 Marek Polacek <polacek@redhat.com>
+
+ 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 <polacek@redhat.com>
+
+ PR c++/118986
+ * g++.dg/cpp2a/constexpr-prvalue1.C: New test.
+
+2025-02-28 Martin Jambor <mjambor@suse.cz>
+
+ PR ipa/118243
+ * g++.dg/ipa/pr118243.C: New test.
+
+2025-02-28 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/119038
+ * g++.dg/cpp23/explicit-obj-lambda15.C: New test.
+
+2025-02-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/119045
+ * g++.dg/cpp1y/constexpr-complex2.C: New test.
+
+2025-02-28 Jakub Jelinek <jakub@redhat.com>
+
+ * 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 <rguenther@suse.de>
+
+ PR lto/91299
+ * gcc.dg/lto/pr91299_0.c: New testcase.
+ * gcc.dg/lto/pr91299_1.c: Likewise.
+
+2025-02-28 Richard Biener <rguenther@suse.de>
+
+ PR ipa/111245
+ * g++.dg/torture/pr111245.C: New testcase.
+
+2025-02-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/117712
+ * gcc.dg/pr117712.c: New test.
+
+2025-02-28 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/87984
+ * gcc.target/i386/pr87984.c: New testcase.
+
+2025-02-28 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/66279
+ * g++.dg/pr66279.C: New testcase.
+
+2025-02-28 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc.target/i386/strub-pr118006.c: Remove -m32 from dg-options.
+
+2025-02-28 Jakub Jelinek <jakub@redhat.com>
+
+ 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 <vehre@gcc.gnu.org>
+
+ 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 <pan2.li@intel.com>
PR target/118931