[gcc r16-9482] Daily bump.

GCC Administrator via Gcc-cvs <[email protected]> Sat, 1 Aug 2026 00:23:07 +0000 (GMT)
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:ab70455091ad4a718af1a8629d02239a07c0c447

commit r16-9482-gab70455091ad4a718af1a8629d02239a07c0c447
Author: GCC Administrator <[email protected]>
Date:   Sat Aug 1 00:22:34 2026 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           | 65 ++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |  2 +-
 gcc/cp/ChangeLog        | 44 ++++++++++++++++++++++
 gcc/po/ChangeLog        |  4 ++
 gcc/testsuite/ChangeLog | 99 +++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 213 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3681286ac291..f8416e3e27a6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,68 @@
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR tree-optimization/126504
+	* match.pd ((CST1 << A) == CST2 -> A == ctz (CST2) - ctz (CST1)):
+	If cand isn't representable in TREE_TYPE (@1), simplify to
+	cmp == NE_EXPR.
+	(((1 << n) & M) != 0 -> n == log2 (M)): Don't simplify if
+	log2 doesn't fit into TREE_TYPE (@0).
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR tree-optimization/126503
+	* gimple-lower-bitint.cc (bitint_large_huge::handle_plus_minus): If
+	IFN_ADDC/IFN_SUBC can't be used and rhs1_type is not the limb type
+	and is signed, perform both additions or both subtractions in
+	unsigned type for the rhs1_type and cast to rhs1_type at the end.
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR middle-end/126497
+	* gimplify.cc (recalculate_side_effects): Return for
+	tcc_declaration.
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR tree-optimization/126490
+	* match.pd ((a & b) == (a ^ b) -> !(a | b)): If @0 has
+	integral one bit precision type, use (convert:type ...) around the
+	bit_not just in case the comparison has a different result type
+	from the type of its operands.  Otherwise do that too but with
+	bit_not replaced with bit_xor with one of the appropriate type.
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR tree-optimization/126464
+	* range-op-float.cc (float_widen_lhs_range): Remove also_inf
+	argument, replace its uses as if it was always true.
+	(operator_cast::op1_range): Don't pass third argument to
+	float_widen_lhs_range.
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR tree-optimization/126476
+	* match.pd (((C << A) & D) != 0 -> A == 0,
+	((C << A) & D) == 0 -> A != 0): Fold to false/true if
+	c1 - c2 resp. c2 - c1 doesn't fit into TREE_TYPE (@0).
+
 2026-07-30  Jakub Jelinek  <[email protected]>
 
 	Backported from master:
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 4856dc75a20f..89a5952fcdcb 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20260731
+20260801
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index e0446a35af4c..3f8ee9ce8742 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,47 @@
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR c++/126508
+	* constexpr.cc (cxx_eval_cxa_builtin_fn): Avoid caching
+	calls which rethrow or call __builtin_uncaught_exceptions
+	or __builtin_current_exception.
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR c++/126420
+	PR c++/126423
+	* typeck.cc (check_return_expr): If in_expansion_stmt, goto
+	dependent before even setting current_function_returns_value.
+	* pt.cc (tsubst_stmt): Temporarily set in_expansion_stmt around
+	partial instantiation of expansion statement body.
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR c++/126343
+	* error.cc (dump_type) <case NULLPTR_TYPE>: Call
+	pp_c_type_qualifier_list.
+	(dump_type) <case META_TYPE>: Likewise.
+	(dump_expr) <case REFLECT_EXPR>: For REFLECT_EXPR on
+	non-typedef META_TYPE or NULLPTR_TYPE print
+	decltype(^^int) or decltype(nullptr).
+
+2026-07-31  Patrick Palka  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Patrick Palka  <[email protected]>
+
+	PR c++/126406
+	PR c++/119343
+	* pt.cc (resolve_nondeduced_context): Revert r16-5967 change.
+
 2026-07-30  Jason Merrill  <[email protected]>
 
 	Backported from master:
diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog
index 4f7b29fd92e0..fc989f9a7e02 100644
--- a/gcc/po/ChangeLog
+++ b/gcc/po/ChangeLog
@@ -1,3 +1,7 @@
+2026-07-31  Joseph Myers  <[email protected]>
+
+	* gcc.pot: Regenerate.
+
 2026-05-18  Joseph Myers  <[email protected]>
 
 	* sv.po: Update.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 8a6ca1bb5469..d8c15f94aa36 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,102 @@
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR tree-optimization/126504
+	* gcc.dg/torture/bitint-105.c: New test.
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR tree-optimization/126503
+	* gcc.dg/torture/bitint-106.c: New test.
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR middle-end/126497
+	* gcc.dg/bitint-141.c: New test.
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR tree-optimization/126490
+	* gcc.dg/torture/bitint-104.c: New test.
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR c++/126508
+	* g++.dg/cpp26/constexpr-eh20.C: New test.
+	* g++.dg/cpp26/constexpr-eh21.C: New test.
+	* g++.dg/cpp26/constexpr-eh22.C: New test.
+	* g++.dg/cpp26/constexpr-eh23.C: New test.
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR tree-optimization/126464
+	* gcc.dg/torture/pr126464.c: New test.
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR tree-optimization/126476
+	* gcc.dg/torture/bitint-103.c: New test.
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR c++/126420
+	PR c++/126423
+	* g++.dg/cpp26/expansion-stmt43.C: New test.
+	* g++.dg/cpp26/expansion-stmt44.C: New test.
+
+2026-07-31  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Jakub Jelinek  <[email protected]>
+
+	PR c++/126343
+	* g++.dg/reflect/pr126343.C: New test.
+	* g++.dg/reflect/diag6.C: Adjust expected diagnostic wording.
+	* g++.dg/reflect/init2.C: Likewise.
+	* g++.dg/cpp0x/pr124489.C: Likewise.
+
+2026-07-31  Alexandre Oliva  <[email protected]>
+
+	Backported from master:
+	2026-07-30  Alexandre Oliva  <[email protected]>
+
+	PR tree-optimization/126194
+	* g++.dg/lto/pr126194_2.C (main): Tolerate argc == 0.
+
+2026-07-31  Patrick Palka  <[email protected]>
+
+	Backported from master:
+	2026-07-31  Patrick Palka  <[email protected]>
+
+	PR c++/126406
+	PR c++/119343
+	* g++.dg/cpp0x/cond2a.C: New test.
+	* g++.dg/cpp1y/auto-fn67.C: New test.
+	* g++.dg/cpp1z/noexcept-type29.C: New test.
+
 2026-07-30  Jason Merrill  <[email protected]>
 
 	Backported from master: