diff -Nrcpad gcc-13-20260701/LAST_UPDATED gcc-13-20260708/LAST_UPDATED
*** gcc-13-20260701/LAST_UPDATED	Wed Jul  1 22:32:21 2026
--- gcc-13-20260708/LAST_UPDATED	Wed Jul  8 22:32:21 2026
***************
*** 1 ****
! Obtained from git: releases/gcc-13 revision 423786c073054b9dbb1c73eadfb47dfcbc2b6955
--- 1 ----
! Obtained from git: releases/gcc-13 revision 7a4c816ebf3f61b62b816f80c692ae6242843ace
diff -Nrcpad gcc-13-20260701/MD5SUMS gcc-13-20260708/MD5SUMS
*** gcc-13-20260701/MD5SUMS	Wed Jul  1 22:32:25 2026
--- gcc-13-20260708/MD5SUMS	Wed Jul  8 22:32:25 2026
***************
*** 1,5 ****
  # This file contains the MD5 checksums of the files in the
! # gcc-13-20260701.tar.xz tarball.
  #
  # Besides verifying that all files in the tarball were correctly expanded,
  # it also can be used to determine if any files have changed since the
--- 1,5 ----
  # This file contains the MD5 checksums of the files in the
! # gcc-13-20260708.tar.xz tarball.
  #
  # Besides verifying that all files in the tarball were correctly expanded,
  # it also can be used to determine if any files have changed since the
*************** d32239bcb673463ab874e80d47fae504  COPYIN
*** 21,27 ****
  fd4ecdf5d672efe2b0e409aca9cf9446  ChangeLog.jit
  09538b708302f1735f6fa05b622ecf5e  ChangeLog.tree-ssa
  24ab760126489e69436a43185dc3d202  INSTALL/README
! 11a815a34da2419b2454a59c0ec032d7  LAST_UPDATED
  81b3330d422f3ce1ef8b720dfae35068  MAINTAINERS
  2b61ddbd876fa839639a7ca551773426  Makefile.def
  5d2d6a74f897f8158d37f5f2ec6877ce  Makefile.in
--- 21,27 ----
  fd4ecdf5d672efe2b0e409aca9cf9446  ChangeLog.jit
  09538b708302f1735f6fa05b622ecf5e  ChangeLog.tree-ssa
  24ab760126489e69436a43185dc3d202  INSTALL/README
! 67c1ce6c3930bb01fced10c4b8ff2176  LAST_UPDATED
  81b3330d422f3ce1ef8b720dfae35068  MAINTAINERS
  2b61ddbd876fa839639a7ca551773426  Makefile.def
  5d2d6a74f897f8158d37f5f2ec6877ce  Makefile.in
*************** a22e70b3f29292d0e628450f4bb11e62  fixinc
*** 475,481 ****
  a916467b91076e631dd8edb7424769c7  gcc/COPYING.LIB
  d32239bcb673463ab874e80d47fae504  gcc/COPYING3
  6a6a8e020838b23406c81b19c1d46df6  gcc/COPYING3.LIB
! d2efd689d0c60d966793c1a1ef26322f  gcc/ChangeLog
  a3b63c675afa7a655cc2bfa8a907af79  gcc/ChangeLog-1997
  d9a88529352a010253c2e8fb1ed6023b  gcc/ChangeLog-1998
  240f08f81cb4699e8b49347db38233db  gcc/ChangeLog-1999
--- 475,481 ----
  a916467b91076e631dd8edb7424769c7  gcc/COPYING.LIB
  d32239bcb673463ab874e80d47fae504  gcc/COPYING3
  6a6a8e020838b23406c81b19c1d46df6  gcc/COPYING3.LIB
! 0dd8667cfa24f2e2db761f3633e52950  gcc/ChangeLog
  a3b63c675afa7a655cc2bfa8a907af79  gcc/ChangeLog-1997
  d9a88529352a010253c2e8fb1ed6023b  gcc/ChangeLog-1998
  240f08f81cb4699e8b49347db38233db  gcc/ChangeLog-1999
*************** fb3fadb88e1d2b3b640cfaaa5ff11780  gcc/Ch
*** 510,516 ****
  3eb07e0b2e542409bf73d359f7f65609  gcc/ChangeLog.ptr
  e13638e26743ba41e6011b76cc00d9a9  gcc/ChangeLog.tree-ssa
  739ab47f6425bcea1d05e4fc0542de54  gcc/ChangeLog.tuples
! 6d16ba5ccbc4e38d2de41adc25561d1b  gcc/DATESTAMP
  d41d8cd98f00b204e9800998ecf8427e  gcc/DEV-PHASE
  eb92e1ff5e982ca07e173e0eb286d243  gcc/FSFChangeLog
  30e1e33411566388b3164558482dc5e6  gcc/FSFChangeLog.10
--- 510,516 ----
  3eb07e0b2e542409bf73d359f7f65609  gcc/ChangeLog.ptr
  e13638e26743ba41e6011b76cc00d9a9  gcc/ChangeLog.tree-ssa
  739ab47f6425bcea1d05e4fc0542de54  gcc/ChangeLog.tuples
! 16e284e1706bb32e78adddac82509b0f  gcc/DATESTAMP
  d41d8cd98f00b204e9800998ecf8427e  gcc/DEV-PHASE
  eb92e1ff5e982ca07e173e0eb286d243  gcc/FSFChangeLog
  30e1e33411566388b3164558482dc5e6  gcc/FSFChangeLog.10
*************** dafa05de62e4f5bb6c9b7a2ffb7a55df  gcc/co
*** 4858,4864 ****
  4515312140f2002feb7cd75134f2c396  gcc/config/sh/sh-protos.h
  8688af86f284a2353424ec768bfdf7ac  gcc/config/sh/sh.cc
  37b97b8797def6afb72ea964a453eca5  gcc/config/sh/sh.h
! cb421e48d5ee6f1a768564c1b2975300  gcc/config/sh/sh.md
  b5bc1e3d906715c2267ae3b833e714a8  gcc/config/sh/sh.opt
  3a51dff173dae73355e8cad1f8bd5866  gcc/config/sh/sh1.md
  8980e2d146877b565a494bb33095eb9e  gcc/config/sh/sh4-300.md
--- 4858,4864 ----
  4515312140f2002feb7cd75134f2c396  gcc/config/sh/sh-protos.h
  8688af86f284a2353424ec768bfdf7ac  gcc/config/sh/sh.cc
  37b97b8797def6afb72ea964a453eca5  gcc/config/sh/sh.h
! 88a623b955db46385f18108dc768de9f  gcc/config/sh/sh.md
  b5bc1e3d906715c2267ae3b833e714a8  gcc/config/sh/sh.opt
  3a51dff173dae73355e8cad1f8bd5866  gcc/config/sh/sh1.md
  8980e2d146877b565a494bb33095eb9e  gcc/config/sh/sh4-300.md
*************** b829ed0032c899e107be2db349c913f3  gcc/ta
*** 7637,7643 ****
  811da275a2b9d3186a6decf96c01b0ed  gcc/targhooks.cc
  edb193a32070c4a7626fb75382def9b9  gcc/targhooks.h
  f39fcaa8197187283ccfed40107b426d  gcc/testsuite/.gitattributes
! 547f23e0e8bcebfa7dafde3cd935f469  gcc/testsuite/ChangeLog
  862f04afbd87da2cc6bc432c3f28430f  gcc/testsuite/ChangeLog-1993-2007
  029a5d8dacd25eb5d4711452ac448e5b  gcc/testsuite/ChangeLog-2008
  13ac28c41d51b66b4ec40dba6bd50f39  gcc/testsuite/ChangeLog-2009
--- 7637,7643 ----
  811da275a2b9d3186a6decf96c01b0ed  gcc/targhooks.cc
  edb193a32070c4a7626fb75382def9b9  gcc/targhooks.h
  f39fcaa8197187283ccfed40107b426d  gcc/testsuite/.gitattributes
! f24a1c7400b6b3771cb95a37fa064879  gcc/testsuite/ChangeLog
  862f04afbd87da2cc6bc432c3f28430f  gcc/testsuite/ChangeLog-1993-2007
  029a5d8dacd25eb5d4711452ac448e5b  gcc/testsuite/ChangeLog-2008
  13ac28c41d51b66b4ec40dba6bd50f39  gcc/testsuite/ChangeLog-2009
*************** b975ebfa27ac446e553bacbb75421590  gcc/te
*** 44641,44647 ****
  3e218010f127737b8ec6efbf8cb00273  gcc/testsuite/gcc.dg/pr123431.c
  a7df0df7e527949ee5dc73c443a056f4  gcc/testsuite/gcc.dg/pr123882.c
  f402be89e4891c76c691c8144fe168f7  gcc/testsuite/gcc.dg/pr124138.c
! 1aeae21fcabe269ed5b59c08143b85d4  gcc/testsuite/gcc.dg/pr125173-1.c
  bc5ddfbbc46f4e0cce1629d1b58d3090  gcc/testsuite/gcc.dg/pr12603.c
  72a2fca76cb69617ae36bab93c7ec0d7  gcc/testsuite/gcc.dg/pr12625-1.c
  6f0ef61e5a12db5f11da839b2988c5e1  gcc/testsuite/gcc.dg/pr13519-1.c
--- 44641,44647 ----
  3e218010f127737b8ec6efbf8cb00273  gcc/testsuite/gcc.dg/pr123431.c
  a7df0df7e527949ee5dc73c443a056f4  gcc/testsuite/gcc.dg/pr123882.c
  f402be89e4891c76c691c8144fe168f7  gcc/testsuite/gcc.dg/pr124138.c
! c24af1592de8918050b279c29b0300ce  gcc/testsuite/gcc.dg/pr125173-1.c
  bc5ddfbbc46f4e0cce1629d1b58d3090  gcc/testsuite/gcc.dg/pr12603.c
  72a2fca76cb69617ae36bab93c7ec0d7  gcc/testsuite/gcc.dg/pr12625-1.c
  6f0ef61e5a12db5f11da839b2988c5e1  gcc/testsuite/gcc.dg/pr13519-1.c
*************** d5753d3f6bf92409af4a8ed1584a9000  gcc/te
*** 78887,78892 ****
--- 78887,78893 ----
  4a850593fc1a7bbabb90b46094c87964  gcc/testsuite/gcc.target/sh/hiconst.c
  ae8390e15b5eaf5fd9c40f8bb42c7724  gcc/testsuite/gcc.target/sh/memset.c
  cdd0e79dc0c4fb2425cf6753e465a85e  gcc/testsuite/gcc.target/sh/mfmovd.c
+ e0c2175829f132bf44d0a7d6f8cf419f  gcc/testsuite/gcc.target/sh/pr122948.c
  9439f7da71328f8113b757d9c4130319  gcc/testsuite/gcc.target/sh/pr21255-1.c
  de6f77c59627b198d6e5048192e2f128  gcc/testsuite/gcc.target/sh/pr21255-2-mb.c
  475ae84e95ba85931d38a06a5d6f12f8  gcc/testsuite/gcc.target/sh/pr21255-2-ml.c
diff -Nrcpad gcc-13-20260701/gcc/ChangeLog gcc-13-20260708/gcc/ChangeLog
*** gcc-13-20260701/gcc/ChangeLog	Wed Jul  1 22:32:06 2026
--- gcc-13-20260708/gcc/ChangeLog	Wed Jul  8 22:32:05 2026
***************
*** 1,3 ****
--- 1,19 ----
+ 2026-07-05  Oleg Endo  <olegendo@gcc.gnu.org>
+ 
+ 	PR target/67459
+ 	PR target/122948
+ 	* config/sh/sh.md (addc): Fix T bit set expression.
+ 	(subc): Likewise.
+ 
+ 2026-07-01  Stefan Schulze Frielinghaus  <stefansf@gcc.gnu.org>
+ 
+ 	Backported from master:
+ 	2026-06-26  Stefan Schulze Frielinghaus  <stefansf@gcc.gnu.org>
+ 
+ 	PR target/125972
+ 	* config/s390/s390.cc (s390_rtx_costs): Deal with non-compare
+ 	conditions during costing.  Also fix some indentation.
+ 
  2026-06-30  Stefan Schulze Frielinghaus  <stefansf@gcc.gnu.org>
  
  	Backported from master:
diff -Nrcpad gcc-13-20260701/gcc/DATESTAMP gcc-13-20260708/gcc/DATESTAMP
*** gcc-13-20260701/gcc/DATESTAMP	Wed Jul  1 22:32:06 2026
--- gcc-13-20260708/gcc/DATESTAMP	Wed Jul  8 22:32:06 2026
***************
*** 1 ****
! 20260701
--- 1 ----
! 20260708
diff -Nrcpad gcc-13-20260701/gcc/config/sh/sh.md gcc-13-20260708/gcc/config/sh/sh.md
*** gcc-13-20260701/gcc/config/sh/sh.md	Wed Jul  1 22:32:07 2026
--- gcc-13-20260708/gcc/config/sh/sh.md	Wed Jul  8 22:32:07 2026
***************
*** 1563,1569 ****
  			  (match_operand:SI 2 "arith_reg_operand" "r"))
  		 (reg:SI T_REG)))
     (set (reg:SI T_REG)
! 	(ltu:SI (plus:SI (match_dup 1) (match_dup 2)) (match_dup 1)))]
    "TARGET_SH1"
    "addc	%2,%0"
    [(set_attr "type" "arith")])
--- 1563,1572 ----
  			  (match_operand:SI 2 "arith_reg_operand" "r"))
  		 (reg:SI T_REG)))
     (set (reg:SI T_REG)
! 	(gtu:SI (plus:DI (plus:DI (zero_extend:DI (match_dup 1))
! 				  (zero_extend:DI (match_dup 2)))
! 			 (zero_extend:DI (reg:SI T_REG)))
! 		(const_int 4294967295)))]
    "TARGET_SH1"
    "addc	%2,%0"
    [(set_attr "type" "arith")])
***************
*** 1955,1963 ****
  			    (match_operand:SI 2 "arith_reg_operand" "r"))
  		  (reg:SI T_REG)))
     (set (reg:SI T_REG)
! 	(gtu:SI (minus:SI (minus:SI (match_dup 1) (match_dup 2))
! 			  (reg:SI T_REG))
! 		(match_dup 1)))]
    "TARGET_SH1"
    "subc	%2,%0"
    [(set_attr "type" "arith")])
--- 1958,1966 ----
  			    (match_operand:SI 2 "arith_reg_operand" "r"))
  		  (reg:SI T_REG)))
     (set (reg:SI T_REG)
! 	(gtu:SI (plus:DI (zero_extend:DI (match_dup 2))
! 			 (zero_extend:DI (reg:SI T_REG)))
! 		(zero_extend:DI (match_dup 1))))]
    "TARGET_SH1"
    "subc	%2,%0"
    [(set_attr "type" "arith")])
diff -Nrcpad gcc-13-20260701/gcc/testsuite/ChangeLog gcc-13-20260708/gcc/testsuite/ChangeLog
*** gcc-13-20260701/gcc/testsuite/ChangeLog	Wed Jul  1 22:32:10 2026
--- gcc-13-20260708/gcc/testsuite/ChangeLog	Wed Jul  8 22:32:10 2026
***************
*** 1,3 ****
--- 1,23 ----
+ 2026-07-05  Oleg Endo  <olegendo@gcc.gnu.org>
+ 
+ 	PR target/67459
+ 	PR target/122948
+ 	* gcc.target/sh/pr122948.c: New test.
+ 
+ 2026-07-03  Stefan Schulze Frielinghaus  <stefansf@gcc.gnu.org>
+ 
+ 	PR rtl-optimization/125173
+ 	* gcc.dg/pr125173-1.c: Remove option
+ 	-fno-fuse-ops-with-volatile-access.
+ 
+ 2026-07-01  Stefan Schulze Frielinghaus  <stefansf@gcc.gnu.org>
+ 
+ 	Backported from master:
+ 	2026-06-26  Stefan Schulze Frielinghaus  <stefansf@gcc.gnu.org>
+ 
+ 	PR target/125972
+ 	* gcc.target/s390/pr125972.c: New test.
+ 
  2026-06-30  Stefan Schulze Frielinghaus  <stefansf@gcc.gnu.org>
  
  	Backported from master:
diff -Nrcpad gcc-13-20260701/gcc/testsuite/gcc.dg/pr125173-1.c gcc-13-20260708/gcc/testsuite/gcc.dg/pr125173-1.c
*** gcc-13-20260701/gcc/testsuite/gcc.dg/pr125173-1.c	Wed Jul  1 22:32:12 2026
--- gcc-13-20260708/gcc/testsuite/gcc.dg/pr125173-1.c	Wed Jul  8 22:32:12 2026
***************
*** 1,5 ****
  /* { dg-do compile } */
! /* { dg-options "-O1 -fno-fuse-ops-with-volatile-access -fno-forward-propagate --param=max-cse-insns=0" } */
  
  int a;
  volatile short b;
--- 1,5 ----
  /* { dg-do compile } */
! /* { dg-options "-O1 -fno-forward-propagate --param=max-cse-insns=0" } */
  
  int a;
  volatile short b;
diff -Nrcpad gcc-13-20260701/gcc/testsuite/gcc.target/sh/pr122948.c gcc-13-20260708/gcc/testsuite/gcc.target/sh/pr122948.c
*** gcc-13-20260701/gcc/testsuite/gcc.target/sh/pr122948.c	Thu Jan  1 00:00:00 1970
--- gcc-13-20260708/gcc/testsuite/gcc.target/sh/pr122948.c	Wed Jul  8 22:32:14 2026
***************
*** 0 ****
--- 1,67 ----
+ /* Verify that the T bit (carry/borrow) set expression of the subc insn is
+    correct.  */
+ /* { dg-do run } */
+ /* { dg-options "-O1" } */
+ 
+ extern void abort (void);
+ 
+ __attribute__ ((noipa)) unsigned int
+ foo (unsigned int a, unsigned int b)
+ {
+   if (b - a - 1 <= b)
+     a = 0;
+   return a;
+ }
+ 
+ __attribute__ ((noipa)) unsigned int
+ bar (unsigned int a, unsigned int b)
+ {
+   return (b - a - 1) > b;
+ }
+ 
+ __attribute__ ((noipa)) unsigned int
+ baz (unsigned int a, unsigned int b)
+ {
+   return (a + b + 1) <= a;
+ }
+ 
+ int
+ main (void)
+ {
+   if (foo (0xffffffff, 0x4e92c833) != 0)
+     abort ();
+ 
+   if (bar (0xffffffff, 0x4e92c833) != 0)
+     abort ();
+ 
+   /* b - a - 1 wraps (borrow) whenever a + 1 > b (unsigned).  */
+   if (bar (5, 3) != 1)
+     abort ();
+ 
+   if (bar (0, 0) != 1)
+     abort ();
+ 
+   if (bar (0, 5) != 0)
+     abort ();
+ 
+   /* addc carry-out: (a + b + 1) <= a.  */
+   /* 0xffffffff + 0 + 1 wraps to 0.  */
+   if (baz (0xffffffff, 0) != 1)
+     abort ();
+ 
+   if (baz (0xffffffff, 0xffffffff) != 1)
+     abort ();
+ 
+   /* wraps to 0.  */
+   if (baz (0xfffffffe, 1) != 1)
+     abort ();
+ 
+   /* 1 <= 0 is false.  */
+   if (baz (0, 0) != 0)
+     abort ();
+ 
+   if (baz (1, 2) != 0)
+     abort ();
+ 
+   return 0;
+ }
