[gcc r14-12795] Daily bump.

GCC Administrator via Gcc-cvs <[email protected]> Sun, 2 Aug 2026 00:20:44 +0000 (GMT)
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:0b6f8f5e15abba659cae2ea4888b2da675749eb9

commit r14-12795-g0b6f8f5e15abba659cae2ea4888b2da675749eb9
Author: GCC Administrator <[email protected]>
Date:   Sun Aug 2 00:20:09 2026 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           | 125 ++++++++++++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/fortran/ChangeLog   |   9 ++++
 gcc/testsuite/ChangeLog |  88 ++++++++++++++++++++++++++++++++++
 libsanitizer/ChangeLog  |   9 ++++
 5 files changed, 232 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 344efe7b7952..3e62603dcd4f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,128 @@
+2026-08-01  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-08-01  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-08-01  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-08-01  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-08-01  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.
+
+2026-08-01  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-08-01  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-30  Jakub Jelinek  <[email protected]>
+
+	PR tree-optimization/126464
+	* range-op-float.cc (float_widen_lhs_range): Add also_inf argument
+	defaulted to false, if true, extend even lb of +inf and ub of -inf.
+
+2026-08-01  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-30  Jakub Jelinek  <[email protected]>
+
+	PR middle-end/126084
+	* asan.cc (maybe_instrument_call): Don't instrument
+	BUILT_IN_ASAN_REPORT_{LOAD,STORE}{1,2,4,8,16,_N} builtins.
+	(initialize_sanitizer_builtins): Use
+	(*lang_hooks.types.type_for_mode) (ptr_mode, 0) instead of
+	pointer_sized_int_mode for PTRMODE arguments.
+	(asan_expand_poison_ifn): Likewise.
+
+2026-08-01  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-30  Jakub Jelinek  <[email protected]>
+
+	PR tree-optimization/126471
+	* match.pd (parity(~X) is parity(X)): Only optimize this way
+	if element_precision is even, otherwise optimize into parity(X) ^ 1.
+
+2026-08-01  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-29  Jakub Jelinek  <[email protected]>
+
+	PR target/126446
+	* gimple-isel.cc (gimple_expand_vec_set_extract_expr): Punt if
+	idx doesn't fit into poly_uint64 but is poly_int_tree_p.  Use
+	known_ge rather than known_gt for out of bounds check.  Formatting
+	fixes.
+
+2026-08-01  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-29  Jakub Jelinek  <[email protected]>
+
+	PR target/126446
+	* config/i386/i386-expand.cc (ix86_expand_vector_set): If elt is
+	out of bounds, emit a no-op move.
+
+2026-08-01  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-29  Jakub Jelinek  <[email protected]>
+
+	PR middle-end/126447
+	* gimple-lower-bitint.cc (gimple_lower_bitint): For
+	ifn calls with large/huge _BitInt (ab) SSA_NAME lhs if they
+	have such (ab) argument too, force it into temporary SSA_NAME
+	for IFN_UBSAN_CHECK_MUL.
+
 2026-07-28  Haochen Jiang  <[email protected]>
 
 	Backported from master:
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 89a5952fcdcb..d1a36c0c53a4 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20260801
+20260802
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index d6a9b5451bb7..24b30b62d391 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,12 @@
+2026-08-01  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-27  Jakub Jelinek  <[email protected]>
+
+	PR fortran/126303
+	* frontend-passes.cc (inner_loop_may_be_skipped): If inner loop iterator
+	is not integral, return true.
+
 2026-07-27  Thomas Koenig  <[email protected]>
 
 	Backported from master:
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 347837a965cf..6692c1068675 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,91 @@
+2026-08-01  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-08-01  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-08-01  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-08-01  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-08-01  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-08-01  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-08-01  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-30  Jakub Jelinek  <[email protected]>
+
+	PR tree-optimization/126464
+	* gcc.dg/pr126464.c: New test.
+
+2026-08-01  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-30  Jakub Jelinek  <[email protected]>
+
+	PR tree-optimization/126471
+	* gcc.dg/bitint-139.c: New test.
+
+2026-08-01  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-29  Jakub Jelinek  <[email protected]>
+
+	PR target/126446
+	* gcc.target/i386/avx2-pr126446.c: New test.
+
+2026-08-01  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-29  Jakub Jelinek  <[email protected]>
+
+	PR middle-end/126447
+	* gcc.dg/ubsan/bitint-5.c: New test.
+
+2026-08-01  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-27  Jakub Jelinek  <[email protected]>
+
+	PR fortran/126303
+	* gfortran.dg/pr126303.f: New test.
+
 2026-07-28  Haochen Jiang  <[email protected]>
 
 	Backported from master:
diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog
index a10df8b29c01..097b5c3eac6e 100644
--- a/libsanitizer/ChangeLog
+++ b/libsanitizer/ChangeLog
@@ -1,3 +1,12 @@
+2026-08-01  Jakub Jelinek  <[email protected]>
+
+	Backported from master:
+	2026-07-20  Jakub Jelinek  <[email protected]>
+
+	PR sanitizer/126307
+	* tsan/tsan_trace.h: Cherry-pick llvm-project revision
+	cdfdb06c9155080ec97d6e4f4dd90b6e7cefb0ca.
+
 2026-06-26  Release Manager
 
 	* GCC 14.4.0 released.