From 60f1feded2ddaf1ece86d631790641578ff0d9ae Mon Sep 17 00:00:00 2001
From: GCC Administrator <gccadmin@gcc.gnu.org>
Date: Wed, 2 Oct 2024 00:17:48 +0000
Subject: [PATCH] Daily bump.

---
 gcc/ChangeLog           | 99 +++++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |  2 +-
 gcc/c-family/ChangeLog  |  5 +++
 gcc/cp/ChangeLog        | 17 +++++++
 gcc/fortran/ChangeLog   |  8 ++++
 gcc/m2/ChangeLog        | 16 +++++++
 gcc/testsuite/ChangeLog | 58 ++++++++++++++++++++++++
 libgcc/ChangeLog        |  5 +++
 libgfortran/ChangeLog   | 16 +++++++
 9 files changed, 225 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c585092abaf2..eadda2aa8480 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,102 @@
+2024-10-01  Georg-Johann Lay  <avr@gjlay.de>
+
+	* config/avr/avr.cc (avr_out_compare): Drop superfluous sub-condition.
+
+2024-10-01  Georg-Johann Lay  <avr@gjlay.de>
+
+	* config/avr/avr-passes.cc (avr_split_fake_addressing_move): Fix
+	a build warning.
+
+2024-10-01  Saurabh Jha  <saurabh.jha@arm.com>
+
+	* config/aarch64/aarch64-sve.md
+	(<fmaxmin><mode>3): Remove this instruction pattern.
+	(cond_<fmaxmin><mode>): Remove this instruction pattern.
+	* config/aarch64/iterators.md: New unspecs and changes to
+	iterators and attrs to use the new unspecs
+
+2024-10-01  Eric Botcazou  <ebotcazou@adacore.com>
+
+	* tree-inline.cc (expand_call_inline): Remove the store to the
+	return slot if it is a global variable that is only written to.
+
+2024-10-01  Giuseppe D'Angelo  <giuseppe.dangelo@kdab.com>
+
+	* doc/extend.texi: Document the new
+	__builtin_is_virtual_base_of builtin; amend the docs for
+	__is_base_of.
+
+2024-10-01  Andrew Pinski  <quic_apinski@quicinc.com>
+
+	PR tree-optimization/116890
+	* tree-ssa-phiopt.cc (factor_out_conditional_operation): Conversions
+	from bool is also should be considered as wanting to happen.
+
+2024-10-01  Claudio Bantaloukas  <Claudio.Bantaloukas@arm.com>
+
+	* config/aarch64/aarch64-builtins.cc (aarch64_mfp8_type_node): Add node
+	for __mfp8 type.
+	(aarch64_mfp8_ptr_type_node): Add node for __mfp8 pointer type.
+	(aarch64_init_fp8_types): New function to initialise fp8 types and
+	register with language backends.
+	* config/aarch64/aarch64.cc (aarch64_mangle_type): Add ABI mangling for
+	new type.
+	(aarch64_invalid_conversion): Add function implementing
+	TARGET_INVALID_CONVERSION hook that blocks conversion to and from the
+	__mfp8 type.
+	(aarch64_invalid_unary_op): Add function implementing TARGET_UNARY_OP
+	hook that blocks operations on __mfp8 other than &.
+	(aarch64_invalid_binary_op): Extend TARGET_BINARY_OP hook to disallow
+	operations on __mfp8 type.
+	(TARGET_INVALID_CONVERSION): Add define.
+	(TARGET_INVALID_UNARY_OP): Likewise.
+	* config/aarch64/aarch64.h (aarch64_mfp8_type_node): Add node for __mfp8
+	type.
+	(aarch64_mfp8_ptr_type_node): Add node for __mfp8 pointer type.
+	* config/aarch64/arm_private_fp8.h (mfloat8_t): Add typedef.
+
+2024-10-01  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/116902
+	PR tree-optimization/116842
+	* tree-vect-stmts.cc (sort_after_uid): Remove again.
+	(hoist_defs_of_uses): Copy defs instead of hoisting them so
+	we can zero their UID.
+	(vectorizable_load): Separate analysis and transform call,
+	do transform on the stmt copy.
+
+2024-10-01  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/116905
+	* tree-vect-stmts.cc (supportable_indirect_convert_operation):
+	Fix guard for vect_get_range_info.
+
+2024-10-01  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/116906
+	* tree-ssa-pre.cc (prune_clobbered_mems): Add clean_traps
+	argument.
+	(compute_antic_aux): Direct prune_clobbered_mems to prune
+	all traps when any MAX solution was involved in the ANTIC
+	computation.
+	(compute_partial_antic_aux): Adjust.
+
+2024-10-01  Jakub Jelinek  <jakub@redhat.com>
+
+	PR middle-end/116899
+	* gimple-range-cache.cc (ranger_cache::ranger_cache): Set m_workback
+	to vNULL instead of creating it, growing and then truncating.
+	(ranger_cache::fill_block_cache): Use safe_push rather than quick_push
+	on m_workback.
+	(ranger_cache::range_from_dom): Likewise.
+
+2024-10-01  Jakub Jelinek  <jakub@redhat.com>
+
+	PR middle-end/116898
+	* gimple-range-cache.cc (ranger_cache::block_range): If a SSA_NAME
+	with NULL def_bb isn't SSA_NAME_IS_DEFAULT_DEF, return false instead
+	of failing assertion.  Formatting fix.
+
 2024-09-30  Eric Botcazou  <ebotcazou@adacore.com>
 
 	PR ipa/113996
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 76549858b256..f464e65124d8 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20241001
+20241002
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index b7cf9a27b7a8..789d2808787a 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,8 @@
+2024-10-01  Jason Merrill  <jason@redhat.com>
+
+	* c-cppbuiltin.cc (c_cpp_builtins): Don't define __cpp_concepts
+	before C++17.
+
 2024-09-30  David Malcolm  <dmalcolm@redhat.com>
 
 	PR other/116613
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b2a6681e8163..0a02eb60b016 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,20 @@
+2024-10-01  Giuseppe D'Angelo  <giuseppe.dangelo@kdab.com>
+
+	* constraint.cc (diagnose_trait_expr): New diagnostic.
+	* cp-trait.def (IS_VIRTUAL_BASE_OF): New builtin.
+	* cp-tree.h (enum base_access_flags): Add a new flag to be
+	able to request a search for a virtual base class.
+	* cxx-pretty-print.cc (pp_cxx_userdef_literal): Update the
+	list of GNU extensions to the grammar.
+	* search.cc (struct lookup_base_data_s): Add a field to
+	request searching for a virtual base class.
+	(dfs_lookup_base): Add the ability to look for a virtual
+	base class.
+	(lookup_base): Forward the flag to dfs_lookup_base.
+	* semantics.cc (trait_expr_value): Implement the builtin
+	by calling lookup_base with the new flag.
+	(finish_trait_expr): Handle the new builtin.
+
 2024-09-30  Marek Polacek  <polacek@redhat.com>
 
 	PR c++/109859
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 03143258cc8c..a46f59c3bf0d 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,11 @@
+2024-10-01  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+	* check.cc (int_or_real_or_char_or_unsigned_check_f2003): New function.
+	(gfc_check_minval_maxval): Use it.
+	* trans-intrinsic.cc (gfc_conv_intrinsic_minmaxval): Handle
+	initial values for UNSIGNED.
+	* gfortran.texi: Document MINVAL and MAXVAL for unsigned.
+
 2024-09-30  David Malcolm  <dmalcolm@redhat.com>
 
 	PR other/116613
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index 0d1c9eee765f..3c7f6d58deee 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,3 +1,19 @@
+2024-10-01  Gaius Mulley  <gaiusmod2@gmail.com>
+
+	* gm2-libs/Indexing.def (FindIndice): New procedure
+	function.
+	* gm2-libs/Indexing.mod (FindIndice): Implement new
+	procedure function.
+
+2024-10-01  Gaius Mulley  <gaiusmod2@gmail.com>
+
+	PR modula2/116918
+	* gm2-compiler/M2Swig.mod (AnnotateProcedure): Capitalize
+	the generated comment, split comment into multiple lines and
+	terminate the comment with ".  */".
+	(DoCheckUnbounded): Escape the % character with %%.
+	(DoWriteFile): Ditto.
+
 2024-09-25  Mikael Morin  <mikael@gcc.gnu.org>
 
 	PR other/116801
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 8deedfed3dbe..30f1d5fe48f7 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,61 @@
+2024-10-01  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+	* gfortran.dg/unsigned_34.f90: New test.
+
+2024-10-01  Eric Botcazou  <ebotcazou@adacore.com>
+
+	* gnat.dg/lto28.adb: New test.
+	* gnat.dg/lto28_pkg1.ads: New helper.
+	* gnat.dg/lto28_pkg2.ads: Likewise.
+	* gnat.dg/lto28_pkg2.adb: Likewise.
+	* gnat.dg/lto28_pkg3.ads: Likewise.
+
+2024-10-01  Giuseppe D'Angelo  <giuseppe.dangelo@kdab.com>
+
+	* g++.dg/ext/is_virtual_base_of.C: New test.
+	* g++.dg/ext/is_virtual_base_of_diagnostic.C: New test.
+
+2024-10-01  Andrew Pinski  <quic_apinski@quicinc.com>
+
+	PR tree-optimization/116890
+	* gcc.dg/tree-ssa/phi-opt-7.c: Update testcase for no ifs left.
+	* gcc.dg/tree-ssa/phi-opt-42.c: New test.
+	* gcc.dg/tree-ssa/phi-opt-43.c: New test.
+
+2024-10-01  Claudio Bantaloukas  <Claudio.Bantaloukas@arm.com>
+
+	* g++.target/aarch64/fp8_mangling.C: New tests exercising mangling.
+	* g++.target/aarch64/fp8_scalar_typecheck_2.C: New tests in C++.
+	* gcc.target/aarch64/fp8_scalar_1.c: New tests in C.
+	* gcc.target/aarch64/fp8_scalar_typecheck_1.c: Likewise.
+
+2024-10-01  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/116902
+	PR tree-optimization/116842
+	* g++.dg/torture/pr116902.C: New testcase.
+
+2024-10-01  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/116905
+	* gcc.dg/pr116905.c: New testcase.
+
+2024-10-01  Richard Biener  <rguenther@suse.de>
+
+	PR tree-optimization/116906
+	* gcc.dg/pr116906-1.c: New testcase.
+	* gcc.dg/pr116906-2.c: Likewise.
+
+2024-10-01  Jakub Jelinek  <jakub@redhat.com>
+
+	PR middle-end/116899
+	* gcc.dg/bitint-111.c: New test.
+
+2024-10-01  Jakub Jelinek  <jakub@redhat.com>
+
+	PR middle-end/116898
+	* gcc.dg/bitint-110.c: New test.
+
 2024-09-30  Kugan Vivekanandarajah  <kvivekananda@nvidia.com>
 
 	* gcc.dg/tree-ssa/absfloat16.c: Fix testcase.
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 518cef3d96c5..bc5309e01205 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,8 @@
+2024-10-01  Tsung Chun Lin  <tclin914@gmail.com>
+
+	* config/riscv/save-restore.S: Fix .cfi_offset for
+	__riscv_save_[0-3] on RV32.
+
 2024-09-27  Matthieu Longo  <matthieu.longo@arm.com>
 
 	* config/aarch64/aarch64-unwind.h: Fix header path.
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index e5e6ca35d188..a4e382581180 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,19 @@
+2024-10-01  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+	* Makefile.am: Add minval and maxval files.
+	* Makefile.in: Regenerated.
+	* gfortran.map: Add new functions.
+	* generated/maxval_m1.c: New file.
+	* generated/maxval_m16.c: New file.
+	* generated/maxval_m2.c: New file.
+	* generated/maxval_m4.c: New file.
+	* generated/maxval_m8.c: New file.
+	* generated/minval_m1.c: New file.
+	* generated/minval_m16.c: New file.
+	* generated/minval_m2.c: New file.
+	* generated/minval_m4.c: New file.
+	* generated/minval_m8.c: New file.
+
 2024-09-24  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
 	* gfortran.map: Add _gfortran_random_m1, _gfortran_random_m2,
-- 
GitLab