[gcc r17-2290] Daily bump.

GCC Administrator via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:2131052d1221d75eea4647bc76324f24cd8edd19

commit r17-2290-g2131052d1221d75eea4647bc76324f24cd8edd19
Author: GCC Administrator <[email protected]>
Date:   Fri Jul 10 00:16:35 2026 +0000

    Daily bump.

Diff:
---
 ChangeLog               |   5 ++
 contrib/ChangeLog       |   5 ++
 gcc/ChangeLog           | 211 ++++++++++++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/cobol/ChangeLog     |  14 ++++
 gcc/fortran/ChangeLog   |   6 ++
 gcc/testsuite/ChangeLog | 191 +++++++++++++++++++++++++++++++++++++++++++
 libgcc/ChangeLog        |  17 ++++
 libgm2/ChangeLog        |   4 +
 libgomp/ChangeLog       |  63 +++++++++++++++
 libitm/ChangeLog        |   4 +
 libstdc++-v3/ChangeLog  |   4 +
 12 files changed, 525 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 26e43f07dbe9..a8b5fc77791e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-07-09  Stefan Schulze Frielinghaus  <[email protected]>
+
+	* configure: Regenerate.
+	* configure.ac: Remove deprecation warning for -m31.
+
 2026-07-07  Richard Earnshaw  <[email protected]>
 
 	* MAINTAINERS.yml: New file.
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 476de49fd9bd..6403247ae040 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,8 @@
+2026-07-09  Stefan Schulze Frielinghaus  <[email protected]>
+
+	* compare-all-tests: Remove opts -m31 and so on.
+	* config-list.mk: Remove s390-linux-gnu.
+
 2026-07-07  Richard Earnshaw  <[email protected]>
 
 	* add-write-after.py: New file.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 770f30ca1a10..36b93de4117f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,214 @@
+2026-07-09  Paul-Antoine Arras  <[email protected]>
+	    Thomas Schwinge  <[email protected]>
+
+	* builtin-types.def (BT_FN_COMPLEX_INT): Remove.
+	(BT_FN_COMPLEX_INT_ULONGLONG): New.
+	* omp-builtins.def (BUILT_IN_GOMP_LOOP_STATIC_WORKSHARING): Use
+	BT_FN_COMPLEX_INT_ULONGLONG.
+	(BUILT_IN_GOMP_LOOP_STATIC_WORKSHARING_START): Likewise.
+	(BUILT_IN_GOMP_DISTRIBUTE_STATIC_WORKSHARING): Likewise.
+	(BUILT_IN_GOMP_DISTRIBUTE_STATIC_WORKSHARING_START): Likewise.
+	* omp-expand.cc (expand_omp_for_static_nochunk): Move worksharing
+	builtin call after iteration count computation; pass n as niter.
+	(expand_omp_for_static_chunk): Likewise.
+
+2026-07-09  Paul-Antoine Arras  <[email protected]>
+
+	* common.opt (fopenmp-ompt): New option.
+	(fopenmp-ompt-detailed): New option.
+	* common.opt.urls: Regenerate.
+	* doc/invoke.texi (Option Summary): Add -fopenmp-ompt and
+	-fopenmp-ompt-detailed.
+	(OpenMP and OpenACC Options): Document -fopenmp-ompt and
+	-fopenmp-ompt-detailed.
+	* omp-builtins.def (BUILT_IN_GOMP_SINGLE_START_WITH_END): New builtin.
+	(BUILT_IN_GOMP_SINGLE_END): New builtin.
+	(BUILT_IN_GOMP_MASKED_END): New builtin.
+	(BUILT_IN_GOMP_LOOP_STATIC_WORKSHARING_START): New builtin.
+	(BUILT_IN_GOMP_LOOP_STATIC_WORKSHARING_END): New builtin.
+	(BUILT_IN_GOMP_LOOP_STATIC_WORKSHARING_DISPATCH): New builtin.
+	(BUILT_IN_GOMP_DISTRIBUTE_STATIC_WORKSHARING_START): New builtin.
+	(BUILT_IN_GOMP_DISTRIBUTE_STATIC_WORKSHARING_END): New builtin.
+	(BUILT_IN_GOMP_DISTRIBUTE_STATIC_WORKSHARING_DISPATCH): New builtin.
+	* omp-expand.cc (expand_omp_for_static_nochunk): With -fopenmp-ompt,
+	emit _start and _end variants instead of the plain worksharing call;
+	with -fopenmp-ompt-detailed, also emit _dispatch.
+	(expand_omp_for_static_chunk): Likewise.
+	* omp-low.cc (lower_omp_single_simple): With -fopenmp-ompt, use
+	GOMP_single_start_with_end instead of GOMP_single_start.
+	(lower_omp_single): With -fopenmp-ompt, emit GOMP_single_end.
+	(lower_omp_master): With -fopenmp-ompt, emit GOMP_masked_end.
+	* opts.cc (finish_options): Diagnose -fopenmp-ompt and
+	-fopenmp-ompt-detailed used without -fopenmp.
+
+2026-07-09  Richard Sandiford  <[email protected]>
+
+	PR debug/126169
+	* rtl.h (rtx_def::u2): Add value_uid to the union.
+	(CSELIB_VAL_UID): New macro.
+	* cselib.h (cselib_val::HASH_MASK): Delete.
+	(cselib_val::hash): Restore to a full int.
+	(cselib_val::uid): Delete.
+	(canonical_cselib_val): Use CSELIB_VAL_UID instead of cselib_val::uid.
+	* alias.cc (refs_newer_value_p): Likewise.
+	* dse.cc (canon_address): Likewise.
+	* print-rtl.cc (rtx_writer::print_rtx_operand_code_0): Likewise.
+	* var-tracking.cc (dv_uid, canon_value_cmp): Likewise.
+	(variable_post_merge_new_vals): Likewise.
+	* cselib.cc (new_elt_loc_list, new_cselib_val): Likewise.
+	(cselib_lookup): Likewise.
+	(cselib_find_slot): Remove use of cselib_val::HASH_MASK.
+
+2026-07-09  Andreas Schwab  <[email protected]>
+
+	PR target/126121
+	* config/m68k/m68k.md (bsetmemqi, *bsetmemqi_ext, bclrmemqi)
+	(*bclrmemqi_ext): Add AND with 7 around bit number.
+
+2026-07-09  Karl Meakin  <[email protected]>
+
+	* bitmap.h: Replace uses of `CONSTEXPR` with `constexpr`.
+	* config/aarch64/aarch64-acle-builtins.cc: Likewise.
+	* config/aarch64/aarch64-builtins.cc: Likewise.
+	* config/aarch64/aarch64-protos.h: Likewise.
+	* config/aarch64/aarch64-sve-builtins-base.cc: Likewise.
+	* config/aarch64/aarch64-sve-builtins-functions.h: Likewise.
+	* config/aarch64/aarch64-sve-builtins-shapes.cc: Likewise.
+	* config/aarch64/aarch64-sve-builtins-sme.cc: Likewise.
+	* config/aarch64/aarch64-sve-builtins-sve2.cc: Likewise.
+	* config/aarch64/aarch64.cc: Likewise.
+	* config/aarch64/driver-aarch64.cc: Likewise.
+	* config/arm/arm-mve-builtins-base.cc: Likewise.
+	* config/arm/arm-mve-builtins-functions.h: Likewise.
+	* config/arm/arm-mve-builtins-shapes.cc: Likewise.
+	* config/arm/arm-mve-builtins.cc: Likewise.
+	* config/riscv/andes-vector-builtins-bases.cc: Likewise.
+	* config/riscv/riscv-protos.h: Likewise.
+	* config/riscv/riscv-vector-builtins-bases.cc: Likewise.
+	* config/riscv/riscv-vector-builtins-shapes.cc: Likewise.
+	* config/riscv/riscv-vector-builtins.cc: Likewise.
+	* config/riscv/riscv-vector-builtins.h: Likewise.
+	* config/riscv/sifive-vector-builtins-bases.cc: Likewise.
+	* machmode.h: Likewise.
+
+2026-07-09  Philipp Tomsich  <[email protected]>
+
+	* doc/params.texi (widening-mul-defer-fma): Document.
+	* params.opt (-param=widening-mul-defer-fma=): New param.
+	* tree-ssa-math-opts.cc (math_opts_dom_walker::after_dom_children):
+	Gate fma_deferring_state's enable predicate on
+	param_widening_mul_defer_fma on top of param_avoid_fma_max_bits.
+	* config/aarch64/aarch64-tuning-flags.def (AVOID_CROSS_LOOP_FMA):
+	Update the comment for the widening-mul-defer-fma effect.
+	* config/aarch64/aarch64.cc (aarch64_override_options_internal):
+	Inside the AARCH64_EXTRA_TUNE_AVOID_CROSS_LOOP_FMA block, set
+	param_widening_mul_defer_fma to 0.
+
+2026-07-09  Nathan Sidwell  <[email protected]>
+
+	* Makefile.in (genprogrtl, genprogmd, genprogerr, genprog): Append,
+	rather than set.
+	* config/riscv/t-riscv: Delete genrvv-type-indexer workaround rule,
+	it is no longer needed.
+
+2026-07-09  Martin Jambor  <[email protected]>
+
+	PR ipa/125207
+	* ipa-cp.cc (decide_about_value): Add detailed dumping about skipping
+	a value when there are no edges for it.  Make dumping about skipping
+	because of growth limit violation consistent with other cases.
+	(decide_whether_version_node): Only create all-context nodes for local
+	nodes, remove the logic doing it in other cases, allow cloning for
+	single constant lattices for non-local nodes.  Adjust dumping.
+
+2026-07-09  Jim Lin  <[email protected]>
+
+	* config/riscv/riscv-string.cc (riscv_vector_expand_block_move):
+	Gate the memcpy path on riscv_memcpy_size_threshold instead of
+	riscv_memmove_size_threshold.
+
+2026-07-09  Jovan Dmitrovic  <[email protected]>
+
+	* tree-ssa-loop-ivopts.cc (ivopts_estimate_reg_pressure):
+	Return zero if there are enough registers to store new
+	invariants and induction variables.
+
+2026-07-09  Eikansh Gupta  <[email protected]>
+
+	PR tree-optimization/112472
+	* match.pd ((trunc)copysign ((extend)x, CST) --> copysign (x, -1.0/1.0)):
+	New pattern.
+
+2026-07-09  Zhou Xuhang  <[email protected]>
+
+	* match.pd: Canonicalize shifted high-half unsigned multiply
+	overflow checks to widened comparisons.  Simplify widened unsigned
+	multiply comparison against the narrow type maximum to IFN_MUL_OVERFLOW.
+
+2026-07-09  Avinash Jayakar  <[email protected]>
+
+	* config/rs6000/rs6000-builtins.def: Move AES builtins to future-vsx
+	stanza.
+	* doc/extend.texi: Add subheading for AES builtins.
+
+2026-07-09  Stefan Schulze Frielinghaus  <[email protected]>
+
+	* config.gcc: Remove target s390-*. Don't accept
+	--with-mode=esa anymore.
+	* config.host: Remove target s390-*.
+	* config/host-linux.cc (TRY_EMPTY_VM_SPACE): Remove definition
+	for s390.
+	* config/s390/2827.md: Remove scheduling information for
+	mnemonics which are only used by -m31 but not by -m64.
+	* config/s390/2964.md: Ditto.
+	* config/s390/3906.md: Ditto.
+	* config/s390/3931.md: Ditto.
+	* config/s390/8561.md: Ditto.
+	* config/s390/9175.md: Ditto.
+	* config/s390/constraints.md (ZL): Remove TARGET_64BIT test.
+	* config/s390/driver-native.cc (s390_host_detect_local_cpu):
+	Remove handling for -mesa/-mzarch.
+	* config/s390/htmxlintrin.h (__TM_failure_address): Remove
+	-m31 part.
+	* config/s390/linux.h: Remove -m31 parts.
+	* config/s390/predicates.md: Ditto.
+	* config/s390/s390-builtins.def: Rename RTL expander name for
+	s390_vsce[fg].
+	* config/s390/s390-c.cc (s390_cpu_cpp_builtins): Remove
+	TARGET_{64BIT,ZARCH} tests.
+	* config/s390/s390-d.cc (s390_d_target_versions): Remove
+	TARGET_64BIT test.
+	* config/s390/s390.cc: Remove -m31 parts.  In particular, there
+	is no need to distinguish between 64-bit registers in ABI
+	contexts anymore which is why UNITS_PER_WORD and UNITS_PER_LONG
+	always equal, now.  Hence, replace UNITS_PER_LONG by
+	UNITS_PER_WORD.
+	* config/s390/s390.h: Ditto.
+	* config/s390/s390.md: Ditto. Mode iterator GPR is replaced by
+	DSI. Likewise, DGPR by new mode iterator TDSI.  Remove mode
+	iterators P, DW, W because they are singletons, now.
+	* config/s390/s390.opt: Keep -m64 and -mzarch for backwards
+	compatibility.  Mark -m31 and -mesa as undocumented.
+	* config/s390/s390.opt.urls: Regenerate.
+	* config/s390/t-linux64: Remove -m31 parts.
+	* config/s390/tpf.h (POINTERS_EXTEND_UNSIGNED): This is only
+	required for TPF which is why it is moved from s390.h here.
+	(TARGET_DEFAULT): Remove MASK_64BIT and MASK_ZARCH.
+	* config/s390/vector.md: Remove -m31 parts.
+	* config/s390/vx-builtins.md
+	(vec_scatter_element<V_HW_2:mode>_SI): There is no need for
+	multiplexing different address sizes for vec_scatter_element
+	anymore.
+	(vec_scatter_element<V_HW_32_64:mode>): Ditto.
+	* configure: Regenerate.
+	* configure.ac: Remove target s390-*.
+	* doc/install.texi: Remove mentions of s390 without also
+	referring to s390x.
+	* doc/invoke.texi: Remove options -m31 and -mesa.  Document that
+	-m64 and -mzarch are the defaults, now, and that they don't have
+	any additional effect when explicitly specified.
+	* config/s390/s390x.h: Removed.
+
 2026-07-08  Jim Lin  <[email protected]>
 
 	* config/riscv/riscv.h (TARGET_SFB_ALU): Add andes_45_series.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 76403c9887d1..f3fe500bd976 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20260709
+20260710
diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog
index 4d2700a1ab6c..5d6f0ff39e51 100644
--- a/gcc/cobol/ChangeLog
+++ b/gcc/cobol/ChangeLog
@@ -1,3 +1,17 @@
+2026-07-09  James K. Lowden  <[email protected]>
+
+	PR cobol/126105
+	* parse.y: Remove unnecessary test and improve diagnostic message.
+	* parse_ante.h (yylocation_print): New function.
+	(YYLOCATION_PRINT): Define, because user-defined cbl_loc_t location.
+	* symbols.cc (symbol_typedef): Exclude current field from type search.
+	* symbols.h (symbol_typedef): Delete unused overload.
+
+2026-07-09  James K. Lowden  <[email protected]>
+
+	PR cobol/126106
+	* parse.y: Report error instead of crashing.
+
 2026-07-08  James K. Lowden  <[email protected]>
 
 	* genapi.cc (parser_call_targets_dump): Remove function.
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index a632c48e84bd..c95ce350c4b0 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2026-07-09  Paul-Antoine Arras  <[email protected]>
+	    Thomas Schwinge  <[email protected]>
+
+	* types.def (BT_FN_COMPLEX_INT): Remove.
+	(BT_FN_COMPLEX_INT_ULONGLONG): New.
+
 2026-07-08  Jerry DeLisle  <[email protected]>
 
 	* trans-array.cc (gfc_array_init_size): Set the rank for the
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 394fbe66f7ac..39596f4c3c50 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,194 @@
+2026-07-09  Paul-Antoine Arras  <[email protected]>
+	    Thomas Schwinge  <[email protected]>
+
+	* c-c++-common/gomp/for-static-1.c: Update scan pattern to match
+	niter argument.
+	* c-c++-common/gomp/for-static-2.c: Likewise.
+	* c-c++-common/gomp/for-static-3.c: Likewise.
+
+2026-07-09  Paul-Antoine Arras  <[email protected]>
+
+	* c-c++-common/gomp/masked-1.c: Add scan-tree-dump-not check that
+	GOMP_masked_end is not emitted without -fopenmp-ompt.
+	* c-c++-common/gomp/for-8.c: Remove; superseded by for-static-*.c.
+	* c-c++-common/gomp/for-static-1.c: New test; checks that the plain
+	worksharing builtins are emitted without -fopenmp-ompt.
+	* c-c++-common/gomp/for-static-2.c: New test; checks that _start and
+	_end variants are emitted with -fopenmp-ompt.
+	* c-c++-common/gomp/for-static-3.c: New test; checks that _dispatch is
+	also emitted with -fopenmp-ompt-detailed.
+	* c-c++-common/gomp/for-static.h: New shared test header.
+	* c-c++-common/gomp/masked-3.c: New test for GOMP_masked_end emission
+	with -fopenmp-ompt.
+	* c-c++-common/gomp/openmp-ompt-1.c: New test; checks that
+	-fopenmp-ompt without -fopenmp is diagnosed.
+	* c-c++-common/gomp/openmp-ompt-2.c: New test; checks that
+	-fopenmp-ompt-detailed without -fopenmp is diagnosed.
+	* c-c++-common/gomp/single2.c: New test for GOMP_single_start_with_end
+	and GOMP_single_end emission with -fopenmp-ompt.
+
+2026-07-09  Richard Sandiford  <[email protected]>
+
+	PR debug/126169
+	* gcc.dg/pr126169.c: New file.
+
+2026-07-09  Andreas Schwab  <[email protected]>
+
+	PR target/126121
+	* gcc.dg/torture/pr126121.c: New test.
+
+2026-07-09  Karl Meakin  <[email protected]>
+
+	* gcc.target/aarch64/advsimd-intrinsics/vcopy_lane_indices.c:
+	Don't test this file on 32-bit targets.
+
+2026-07-09  Andrew Stubbs  <[email protected]>
+
+	* gcc.target/gcn/cond_fmaxnm_3.c: Fix assembler scan patterns.
+	* gcc.target/gcn/cond_fmaxnm_4.c: Fix assembler scan patterns.
+	* gcc.target/gcn/cond_fminnm_3.c: Fix assembler scan patterns.
+	* gcc.target/gcn/cond_fminnm_4.c: Fix assembler scan patterns.
+
+2026-07-09  Philipp Tomsich  <[email protected]>
+
+	* gcc.target/aarch64/widening-mul-defer-fma-1.c: New test.
+	* gcc.target/aarch64/widening-mul-defer-fma-2.c: New test.
+	* gcc.target/aarch64/widening-mul-defer-fma-3.c: New test.
+
+2026-07-09  Martin Jambor  <[email protected]>
+
+	PR ipa/125207
+	* gcc.dg/ipa/pr125207.c: New test.
+	* gcc.dg/vla-1.c (f1): Make function f1 static.
+
+2026-07-09  Eikansh Gupta  <[email protected]>
+
+	PR tree-optimization/112472
+	* gcc.dg/tree-ssa/pr112472.c: New test.
+
+2026-07-09  Zhou Xuhang  <[email protected]>
+
+	* g++.target/i386/mul-overflow-widen-1.C: New test.
+	* g++.target/i386/mul-overflow-widen-2.C: New test.
+
+2026-07-09  Avinash Jayakar  <[email protected]>
+
+	* gcc.target/powerpc/aes-builtin-1.c: Add future_compile_ok and lp64
+	testsuite directive.
+	* gcc.target/powerpc/aes-builtin-2.c: Add future_compile_ok and lp64
+	testsuite directive.
+	* gcc.target/powerpc/aes-builtin-3.c: Add future_compile_ok and lp64
+	testsuite directive.
+
+2026-07-09  Stefan Schulze Frielinghaus  <[email protected]>
+
+	* gcc.dg/asm-hard-reg-error-3.c: Remove target s390-*.
+	* gcc.dg/builtin-bswap-8.c: Remove target s390-*.
+	* gcc.dg/ifcvt-4.c: Remove -m31 part.
+	* gcc.dg/optimize-bswaphi-1.c: Ditto.
+	* gcc.dg/optimize-bswapsi-3.c: Ditto.
+	* gcc.dg/optimize-bswapsi-4.c: Ditto.
+	* gcc.dg/optimize-bswapsi-5.c: Ditto.
+	* gcc.dg/optimize-bswapsi-6.c: Ditto.
+	* gcc.dg/optimize-bswapsi-7.c: Ditto.
+	* gcc.dg/pr120525.c: Ditto.
+	* gcc.dg/tree-ssa/loop-1.c: Ditto.
+	* gcc.misc-tests/linkage.exp: Ditto.
+	* gcc.target/s390/addsub-signed-overflow-1.c: Ditto.
+	* gcc.target/s390/addsub-signed-overflow-2.c: Ditto.
+	* gcc.target/s390/asm-constant-1.c: Ditto.
+	* gcc.target/s390/call-z10-pic-nodatarel.c: Ditto.
+	* gcc.target/s390/call-z10-pic.c: Ditto.
+	* gcc.target/s390/call-z10.c: Ditto.
+	* gcc.target/s390/call-z9-pic-nodatarel.c: Ditto.
+	* gcc.target/s390/call-z9-pic.c: Ditto.
+	* gcc.target/s390/call-z9.c: Ditto.
+	* gcc.target/s390/fcall-saved.c: Ditto.
+	* gcc.target/s390/global-array-element-pic2.c: Ditto.
+	* gcc.target/s390/insv-1.c: Ditto.
+	* gcc.target/s390/isfinite-isinf-isnormal-signbit-2.c: Ditto.
+	* gcc.target/s390/isfinite-isinf-isnormal-signbit-3.c: Ditto.
+	* gcc.target/s390/larl-1.c: Ditto.
+	* gcc.target/s390/leaf-profile.c: Ditto.
+	* gcc.target/s390/load-relative-check.c: Ditto.
+	* gcc.target/s390/load-thread-pointer-once-2.c: Ditto.
+	* gcc.target/s390/load-thread-pointer-once.c: Ditto.
+	* gcc.target/s390/loc-1.c: Ditto.
+	* gcc.target/s390/md/andc-splitter-2.c: Ditto.
+	* gcc.target/s390/mrecord-mcount.c: Ditto.
+	* gcc.target/s390/mul-signed-overflow-1.c: Ditto.
+	* gcc.target/s390/mul-signed-overflow-2.c: Ditto.
+	* gcc.target/s390/not.c: Ditto.
+	* gcc.target/s390/pr42224.c: Guard as a TPF test.
+	* gcc.target/s390/preserve-args-1.c: Remove -m31 part.
+	* gcc.target/s390/preserve-args-3.c: Ditto.
+	* gcc.target/s390/risbg-ll-1.c: Ditto.
+	* gcc.target/s390/risbg-ll-2.c: Ditto.
+	* gcc.target/s390/risbg-ll-3.c: Ditto.
+	* gcc.target/s390/stack-protector-guard-tls-1.c: Ditto.
+	* gcc.target/s390/target-attribute/tattr-12.c: Ditto.
+	* gcc.target/s390/target-attribute/tattr-15.c: Ditto.
+	* gcc.target/s390/tls.c: Ditto.
+	* gcc.target/s390/uaddc-1.c: Ditto.
+	* gcc.target/s390/uaddc-2.c: Ditto.
+	* gcc.target/s390/uaddc-3.c: Ditto.
+	* gcc.target/s390/usubc-1.c: Ditto.
+	* gcc.target/s390/usubc-2.c: Ditto.
+	* gcc.target/s390/usubc-3.c: Ditto.
+	* gcc.target/s390/vector/pattern-avg-1.c: Ditto.
+	* gcc.target/s390/vector/vec-abi-1.c: Ditto.
+	* gcc.target/s390/vector/vec-abi-3.c: Ditto.
+	* gcc.target/s390/vector/vec-abi-4.c: Ditto.
+	* gcc.target/s390/vector/vec-abi-vararg-1.c: Ditto.
+	* gcc.target/s390/vector/vec-scalar-cmp-1.c: Ditto.
+	* gcc.target/s390/zero-scratch-regs-1.c: Ditto.
+	* gcc.target/s390/zvector/vec-cmp-1.c: Ditto.
+	* gcc.target/s390/20020926-1.c: Removed.
+	* gcc.target/s390/20140327-1.c: Removed.
+	* gcc.target/s390/dwarfregtable-1.c: Removed.
+	* gcc.target/s390/dwarfregtable-2.c: Removed.
+	* gcc.target/s390/fp2int1.c: Removed.
+	* gcc.target/s390/mnop-mcount-m31-mzarch.c: Removed.
+	* gcc.target/s390/pr102222.c: Removed.
+	* gcc.target/s390/pr106355-2.c: Removed.
+	* gcc.target/s390/pr106355-3.c: Removed.
+	* gcc.target/s390/pr119873-5.c: Removed.
+	* gcc.target/s390/pr61078.c: Removed.
+	* gcc.target/s390/stack-clash-4.c: Removed.
+	* gcc.target/s390/stack-clash-5.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-1.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-10.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-11.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-12.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-13.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-14.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-15.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-16.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-17.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-18.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-19.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-2.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-20.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-21.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-22.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-23.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-24.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-25.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-26.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-27.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-28.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-29.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-3.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-30.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-31.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-32.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-4.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-5.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-6.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-7.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-8.c: Removed.
+	* gcc.target/s390/target-attribute/tattr-m31-9.c: Removed.
+
 2026-07-08  Jerry DeLisle  <[email protected]>
 
 	* gfortran.dg/allocate_with_mold_6.f90: New test.
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 8f50e7e1a4c0..2d594a261e57 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,20 @@
+2026-07-09  Stefan Schulze Frielinghaus  <[email protected]>
+
+	* config.host: Remove target s390-*.  Remove -m31 part.
+	* config/s390/libgcc-glibc.ver: Remove -m31 part.
+	* config/s390/morestack.S: Ditto.
+	* config/s390/sfp-machine.h: Ditto.
+	* configure: Regenerate.
+	* configure.ac: Remove target s390-*.
+	* generic-morestack.c: Remove -m31 part.
+	* config/s390/32/_fixdfdi.c: Removed.
+	* config/s390/32/_fixsfdi.c: Removed.
+	* config/s390/32/_fixtfdi.c: Removed.
+	* config/s390/32/_fixunsdfdi.c: Removed.
+	* config/s390/32/_fixunssfdi.c: Removed.
+	* config/s390/32/_fixunstfdi.c: Removed.
+	* config/s390/32/t-floattodi: Removed.
+
 2026-07-08  Georg-Johann Lay  <[email protected]>
 
 	* config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2_r18.
diff --git a/libgm2/ChangeLog b/libgm2/ChangeLog
index a72ed71d15bb..cb6979bb6bb0 100644
--- a/libgm2/ChangeLog
+++ b/libgm2/ChangeLog
@@ -1,3 +1,7 @@
+2026-07-09  Stefan Schulze Frielinghaus  <[email protected]>
+
+	* configure.host: Remove s390 host part; keep s390x.
+
 2026-06-29  Pietro Monteiro  <[email protected]>
 
 	PR bootstrap/103459
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index a3bd37d0d80f..0b7e6e8c4f87 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,66 @@
+2026-07-09  Paul-Antoine Arras  <[email protected]>
+	    Thomas Schwinge  <[email protected]>
+
+	* config/gcn/teams.c (GOMP_distribute_static_worksharing): Add
+	long niter parameter (unused).
+	(GOMP_distribute_static_worksharing_start): Likewise.
+	* config/nvptx/teams.c (GOMP_distribute_static_worksharing):
+	Likewise.
+	(GOMP_distribute_static_worksharing_start): Likewise.
+	* libgomp.texi: Update function signatures; fix real/imaginary
+	description; document niter parameter.
+	* libgomp_g.h (GOMP_loop_static_worksharing): Update prototype.
+	(GOMP_distribute_static_worksharing): Likewise.
+	* loop.c (GOMP_loop_static_worksharing): Add long niter parameter
+	(unused).
+	(GOMP_loop_static_worksharing_start): Likewise.
+	* teams.c (GOMP_distribute_static_worksharing): Likewise.
+	(GOMP_distribute_static_worksharing_start): Likewise.
+	* testsuite/libgomp.c-c++-common/for-static-1.c: Update scan
+	pattern to match niter argument.
+	* testsuite/libgomp.c-c++-common/for-static-2.c: Likewise.
+	* testsuite/libgomp.c-c++-common/for-static-3.c: Likewise.
+
+2026-07-09  Paul-Antoine Arras  <[email protected]>
+
+	* config/gcn/teams.c (GOMP_distribute_static_worksharing_start,
+	GOMP_distribute_static_worksharing_dispatch,
+	GOMP_distribute_static_worksharing_end): New functions.
+	* config/nvptx/teams.c (GOMP_distribute_static_worksharing_start,
+	GOMP_distribute_static_worksharing_dispatch,
+	GOMP_distribute_static_worksharing_end): Likewise.
+	* libgomp.map (GOMP_6.0.2): Export new entry points.
+	* libgomp_g.h: Add prototypes for GOMP_loop_static_worksharing,
+	GOMP_loop_static_worksharing_start, GOMP_loop_static_worksharing_dispatch,
+	GOMP_loop_static_worksharing_end, GOMP_has_masked_thread_num,
+	GOMP_masked_end, GOMP_single_start_with_end, GOMP_single_end,
+	GOMP_distribute_static_worksharing_start,
+	GOMP_distribute_static_worksharing_dispatch, and
+	GOMP_distribute_static_worksharing_end.
+	* loop.c (GOMP_loop_static_worksharing): Move here from parallel.c.
+	(GOMP_loop_static_worksharing_start): New function.
+	(GOMP_loop_static_worksharing_dispatch): New stub.
+	(GOMP_loop_static_worksharing_end): New stub.
+	(GOMP_has_masked_thread_num): Move here from parallel.c.
+	(GOMP_masked_end): New stub.
+	* parallel.c (GOMP_loop_static_worksharing): Move to loop.c.
+	(GOMP_has_masked_thread_num): Move to loop.c.
+	* single.c (GOMP_single_start_with_end): New function.
+	(GOMP_single_end): New stub.
+	(GOMP_single_copy_start): Fix trailing whitespace.
+	* teams.c (GOMP_distribute_static_worksharing_start): New function.
+	(GOMP_distribute_static_worksharing_dispatch): New stub.
+	(GOMP_distribute_static_worksharing_end): New stub.
+	* testsuite/libgomp.c-c++-common/for-static-1.c: New test.
+	* testsuite/libgomp.c-c++-common/for-static-2.c: New test.
+	* testsuite/libgomp.c-c++-common/for-static-3.c: New test.
+	* testsuite/libgomp.c-c++-common/for-static.h: New test.
+
+2026-07-09  Martin Jambor  <[email protected]>
+
+	PR ipa/125207
+	* testsuite/libgomp.c/ipcp-cb-spec1.c (test): Rework.
+
 2026-07-02  Thomas Schwinge  <[email protected]>
 
 	* config/nvptx/allocator.c [PTX < 4.1]: Fix build.
diff --git a/libitm/ChangeLog b/libitm/ChangeLog
index b3dc9561c157..bd03c9bbaac6 100644
--- a/libitm/ChangeLog
+++ b/libitm/ChangeLog
@@ -1,3 +1,7 @@
+2026-07-09  Stefan Schulze Frielinghaus  <[email protected]>
+
+	* config/s390/sjlj.S: Remove -m31 part.
+
 2026-06-29  Pietro Monteiro  <[email protected]>
 
 	PR bootstrap/103459
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index b46582080922..8658eecc4db6 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2026-07-09  Stefan Schulze Frielinghaus  <[email protected]>
+
+	* configure.host: Remove s390 host part; keep s390x.
+
 2026-07-08  Nathan Myers  <[email protected]>
 
 	PR libstdc++/118851
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.