diff -Nrcpad gcc-13-20251113/LAST_UPDATED gcc-13-20251120/LAST_UPDATED
*** gcc-13-20251113/LAST_UPDATED	Thu Nov 13 22:35:01 2025
--- gcc-13-20251120/LAST_UPDATED	Thu Nov 20 22:34:36 2025
***************
*** 1 ****
! Obtained from git: releases/gcc-13 revision 4d0143f2d4c93f6d4667408d63bccd5e4e046572
--- 1 ----
! Obtained from git: releases/gcc-13 revision 7f95d0c834f967c1ac6162cfc9f4fffac01784f6
diff -Nrcpad gcc-13-20251113/MD5SUMS gcc-13-20251120/MD5SUMS
*** gcc-13-20251113/MD5SUMS	Thu Nov 13 22:35:14 2025
--- gcc-13-20251120/MD5SUMS	Thu Nov 20 22:34:41 2025
***************
*** 1,5 ****
  # This file contains the MD5 checksums of the files in the
! # gcc-13-20251113.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-20251120.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
! b713f615700f7d9577f5c7662d911480  LAST_UPDATED
  81b3330d422f3ce1ef8b720dfae35068  MAINTAINERS
  2b61ddbd876fa839639a7ca551773426  Makefile.def
  5d2d6a74f897f8158d37f5f2ec6877ce  Makefile.in
--- 21,27 ----
  fd4ecdf5d672efe2b0e409aca9cf9446  ChangeLog.jit
  09538b708302f1735f6fa05b622ecf5e  ChangeLog.tree-ssa
  24ab760126489e69436a43185dc3d202  INSTALL/README
! 3fb09ff613ac20bdca059a900d034a56  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
! 7d4fc65beb25da4b71c87352b9df1484  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
! 5905bfa6661eed341e4ee682036b1a02  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
! 12d399a0210269be8530bb77dca431bb  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
! 22979bab3e447fd14ce9dba33cf39294  gcc/DATESTAMP
  d41d8cd98f00b204e9800998ecf8427e  gcc/DEV-PHASE
  eb92e1ff5e982ca07e173e0eb286d243  gcc/FSFChangeLog
  30e1e33411566388b3164558482dc5e6  gcc/FSFChangeLog.10
*************** d26ca7644b0c87e9afba723a82e83ffa  gcc/ma
*** 7083,7089 ****
  020ac57561ab532784bab813afc03f17  gcc/machmode.h
  f837fae8701f147a459629038cc2f8d1  gcc/main.cc
  1f00c2ae711dcf705d2724bc1912adec  gcc/make-unique.h
! 3e5c5e6466987f8e3e1c5fde3edbd395  gcc/match.pd
  ad32d5a9a041bd32e3123d6caba1f49d  gcc/mcf.cc
  c3df3b1477c180924303d737bff27c46  gcc/mem-stats-traits.h
  6682c830fe9e4f4ab3d82e31b7e3aa49  gcc/mem-stats.h
--- 7083,7089 ----
  020ac57561ab532784bab813afc03f17  gcc/machmode.h
  f837fae8701f147a459629038cc2f8d1  gcc/main.cc
  1f00c2ae711dcf705d2724bc1912adec  gcc/make-unique.h
! 3c137113d13d11a793f5111e864ee33b  gcc/match.pd
  ad32d5a9a041bd32e3123d6caba1f49d  gcc/mcf.cc
  c3df3b1477c180924303d737bff27c46  gcc/mem-stats-traits.h
  6682c830fe9e4f4ab3d82e31b7e3aa49  gcc/mem-stats.h
*************** b829ed0032c899e107be2db349c913f3  gcc/ta
*** 7637,7643 ****
  811da275a2b9d3186a6decf96c01b0ed  gcc/targhooks.cc
  edb193a32070c4a7626fb75382def9b9  gcc/targhooks.h
  f39fcaa8197187283ccfed40107b426d  gcc/testsuite/.gitattributes
! 347edb08490cd4f1ec44b1bb5a55abb5  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
! 6948e9eb3c7f83ad904a7aaa2f26f512  gcc/testsuite/ChangeLog
  862f04afbd87da2cc6bc432c3f28430f  gcc/testsuite/ChangeLog-1993-2007
  029a5d8dacd25eb5d4711452ac448e5b  gcc/testsuite/ChangeLog-2008
  13ac28c41d51b66b4ec40dba6bd50f39  gcc/testsuite/ChangeLog-2009
*************** fca208aba0269c8218d4736a10ac6a83  gcc/te
*** 58426,58431 ****
--- 58426,58432 ----
  bc4cb512648e75cde04a28680b1c4a89  gcc/testsuite/gcc.target/aarch64/sve/pr109505.c
  ea42d07119e6d0bf4a13e781c6d1367d  gcc/testsuite/gcc.target/aarch64/sve/pr110280.c
  32ab14334cab1c6336c74f3dc7e201db  gcc/testsuite/gcc.target/aarch64/sve/pr116238.c
+ e823376093c32dfd1c352c612c6a2602  gcc/testsuite/gcc.target/aarch64/sve/pr122724.c
  7e2aaf0806edd37415079b5c2e48b66c  gcc/testsuite/gcc.target/aarch64/sve/pr81003.c
  00b752a6e175de8b1a300df08f275461  gcc/testsuite/gcc.target/aarch64/sve/pr87563.c
  c56eeba71ad463673a1bdb30e7a94863  gcc/testsuite/gcc.target/aarch64/sve/pr87815.c
*************** c265574887f4390ecccd1073ee5c0190  libssp
*** 113533,113539 ****
  02470b541ab713bd1bfb8e6787e65f2c  libssp/strncpy-chk.c
  8a7a0719ef45cb3ae0041192eac8d550  libssp/vsnprintf-chk.c
  d662ba7536e1bd06226d47b1a7f1f4e2  libssp/vsprintf-chk.c
! d453785d79b61689b536c96ca5bd8479  libstdc++-v3/ChangeLog
  7aa6c40440a44fcf5ec94c066160c2f8  libstdc++-v3/ChangeLog-1998
  7aff86600b6a1ed3fa87305075a92db0  libstdc++-v3/ChangeLog-1999
  a6f28e8fc9bb07696a9e068b439a3a87  libstdc++-v3/ChangeLog-2000
--- 113534,113540 ----
  02470b541ab713bd1bfb8e6787e65f2c  libssp/strncpy-chk.c
  8a7a0719ef45cb3ae0041192eac8d550  libssp/vsnprintf-chk.c
  d662ba7536e1bd06226d47b1a7f1f4e2  libssp/vsprintf-chk.c
! 2a3a788cedd701ba2b262ac190fbd97f  libstdc++-v3/ChangeLog
  7aa6c40440a44fcf5ec94c066160c2f8  libstdc++-v3/ChangeLog-1998
  7aff86600b6a1ed3fa87305075a92db0  libstdc++-v3/ChangeLog-1999
  a6f28e8fc9bb07696a9e068b439a3a87  libstdc++-v3/ChangeLog-2000
*************** ec765e2f1e49a5d8005cfb00827e03af  libstd
*** 114233,114239 ****
  abf10f7822a3d2b4feaa7a1a2daa8865  libstdc++-v3/include/bits/deque.tcc
  144af56eb1fdcfa071b31d4e35716372  libstdc++-v3/include/bits/enable_special_members.h
  9fbde52831f934ca63d09c817fe5f7b3  libstdc++-v3/include/bits/erase_if.h
! 68f726da90926f2730fc257270d717cd  libstdc++-v3/include/bits/forward_list.h
  fc266b1bf548f2445b990be5c7f574c1  libstdc++-v3/include/bits/forward_list.tcc
  c9541d566769e4c7678db8b75d569397  libstdc++-v3/include/bits/fs_dir.h
  01a4d96f29ae6ac0bb84541df306c3f5  libstdc++-v3/include/bits/fs_fwd.h
--- 114234,114240 ----
  abf10f7822a3d2b4feaa7a1a2daa8865  libstdc++-v3/include/bits/deque.tcc
  144af56eb1fdcfa071b31d4e35716372  libstdc++-v3/include/bits/enable_special_members.h
  9fbde52831f934ca63d09c817fe5f7b3  libstdc++-v3/include/bits/erase_if.h
! 389647ab8cd9b735917d8102235acc84  libstdc++-v3/include/bits/forward_list.h
  fc266b1bf548f2445b990be5c7f574c1  libstdc++-v3/include/bits/forward_list.tcc
  c9541d566769e4c7678db8b75d569397  libstdc++-v3/include/bits/fs_dir.h
  01a4d96f29ae6ac0bb84541df306c3f5  libstdc++-v3/include/bits/fs_fwd.h
*************** a6f95078e97a60d866de0908aeb10897  libstd
*** 115310,115316 ****
  3985b8fca46c60e27ba47d4d73565f04  libstdc++-v3/src/filesystem/cow-path.cc
  a9e784beb869d9bc7d37934ce0a952f9  libstdc++-v3/src/filesystem/dir-common.h
  d45c23b8e35edb3a14e4d3400daeb1ed  libstdc++-v3/src/filesystem/dir.cc
! c182f1c2e54adc3a27981482189fa2e8  libstdc++-v3/src/filesystem/ops-common.h
  9888787832c93f2184290cfcc78eb874  libstdc++-v3/src/filesystem/ops.cc
  2fa22da658515e688182701d446f5194  libstdc++-v3/src/filesystem/path.cc
  39db16d7fc6280edeec0ba37d212cb2d  libstdc++-v3/src/libbacktrace/Makefile.am
--- 115311,115317 ----
  3985b8fca46c60e27ba47d4d73565f04  libstdc++-v3/src/filesystem/cow-path.cc
  a9e784beb869d9bc7d37934ce0a952f9  libstdc++-v3/src/filesystem/dir-common.h
  d45c23b8e35edb3a14e4d3400daeb1ed  libstdc++-v3/src/filesystem/dir.cc
! 7f621885dd6cb6f0875e0bf786388308  libstdc++-v3/src/filesystem/ops-common.h
  9888787832c93f2184290cfcc78eb874  libstdc++-v3/src/filesystem/ops.cc
  2fa22da658515e688182701d446f5194  libstdc++-v3/src/filesystem/path.cc
  39db16d7fc6280edeec0ba37d212cb2d  libstdc++-v3/src/libbacktrace/Makefile.am
*************** c1c67b7f0cdd8a4e08ccb5f1c47684d4  libstd
*** 118371,118376 ****
--- 118372,118378 ----
  9f32ca6f0a5bc2f373d834b141e33c11  libstdc++-v3/testsuite/23_containers/forward_list/debug/swap.cc
  ffad374cf7ee755cfefd656ab0e265d2  libstdc++-v3/testsuite/23_containers/forward_list/erasure.cc
  3d729b39a39f38eeb3bb2e0215082778  libstdc++-v3/testsuite/23_containers/forward_list/modifiers/1.cc
+ 6bcb325735429aba259858615ce5626d  libstdc++-v3/testsuite/23_containers/forward_list/modifiers/122661.cc
  53165a1f8a0bc90aa9a98a98f6c3fce1  libstdc++-v3/testsuite/23_containers/forward_list/modifiers/2.cc
  921bfaa93cd79b819d72430ef8eaf8ad  libstdc++-v3/testsuite/23_containers/forward_list/modifiers/3.cc
  4801ba53c46f4f392e9b499134be960f  libstdc++-v3/testsuite/23_containers/forward_list/modifiers/4.cc
*************** aa12f3ad5d07760fdef4c7f8339e1ea7  libstd
*** 121950,121956 ****
  0c6c07a9c9dbccc7719497b85201d9a6  libstdc++-v3/testsuite/27_io/filesystem/operations/relative.cc
  128c6f5ee47456ecc936373f2f323f1b  libstdc++-v3/testsuite/27_io/filesystem/operations/remove.cc
  42594b5cbf9a6ffadf5b6cb9b0895ce1  libstdc++-v3/testsuite/27_io/filesystem/operations/remove_all.cc
! 3ab7106fa9baea760ffb1735f2edbdd1  libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
  93258c1d01aa8dc2bfecf035e136dbca  libstdc++-v3/testsuite/27_io/filesystem/operations/resize_file.cc
  3faa5845a51c8d6c5755eed607cc8697  libstdc++-v3/testsuite/27_io/filesystem/operations/space.cc
  9f4e4355672050d1fd8eb5a7524deeb4  libstdc++-v3/testsuite/27_io/filesystem/operations/status.cc
--- 121952,121958 ----
  0c6c07a9c9dbccc7719497b85201d9a6  libstdc++-v3/testsuite/27_io/filesystem/operations/relative.cc
  128c6f5ee47456ecc936373f2f323f1b  libstdc++-v3/testsuite/27_io/filesystem/operations/remove.cc
  42594b5cbf9a6ffadf5b6cb9b0895ce1  libstdc++-v3/testsuite/27_io/filesystem/operations/remove_all.cc
! fae7fb9e8ecbd9ff2d620c12bcd466f4  libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
  93258c1d01aa8dc2bfecf035e136dbca  libstdc++-v3/testsuite/27_io/filesystem/operations/resize_file.cc
  3faa5845a51c8d6c5755eed607cc8697  libstdc++-v3/testsuite/27_io/filesystem/operations/space.cc
  9f4e4355672050d1fd8eb5a7524deeb4  libstdc++-v3/testsuite/27_io/filesystem/operations/status.cc
diff -Nrcpad gcc-13-20251113/gcc/ChangeLog gcc-13-20251120/gcc/ChangeLog
*** gcc-13-20251113/gcc/ChangeLog	Thu Nov 13 22:33:20 2025
--- gcc-13-20251120/gcc/ChangeLog	Thu Nov 20 22:33:21 2025
***************
*** 1,3 ****
--- 1,36 ----
+ 2025-11-18  Richard Biener  <rguenther@suse.de>
+ 	    Alex Coplan  <alex.coplan@arm.com>
+ 
+ 	PR tree-optimization/112469
+ 	PR tree-optimization/122724
+ 	* match.pd (cond ? op a : b -> .COND_op (cond, a, b)): Add
+ 	missing view_converts.
+ 
+ 2025-11-13  Hu, Lin1  <lin1.hu@intel.com>
+ 
+ 	Backported from master:
+ 	2025-11-13  Hu, Lin1  <lin1.hu@intel.com>
+ 
+ 	PR target/122446
+ 	* config/i386/amxbf16intrin.h (_tile_dpbf16ps_internal):
+ 	Input register name by inline asm %c[...], and remove %% before tmm
+ 	from intel side.
+ 	* config/i386/amxcomplexintrin.h (_tile_cmmimfp16ps_internal): Ditto
+ 	(_tile_cmmrlfp16ps_internal): Ditto
+ 	(_tile_cmmimfp16ps): Ditto
+ 	(_tile_cmmrlfp16ps): Ditto
+ 	* config/i386/amxfp16intrin.h (_tile_dpfp16ps_internal): Ditto
+ 	(_tile_dpfp16ps): Ditto
+ 	* config/i386/amxint8intrin.h (_tile_int8_dp_internal): Ditto
+ 	* config/i386/amxtileintrin.h (_tile_loadd): Ditto
+ 	(_tile_loadd_internal): Ditto
+ 	(_tile_stream_loadd): Ditto
+ 	(_tile_stream_loadd_internal): Ditto
+ 	(_tile_stored): Ditto
+ 	(_tile_stored_internal): Ditto
+ 	(_tile_zero): Ditto
+ 	(_tile_zero_internal): Ditto
+ 
  2025-11-07  Christophe Lyon  <christophe.lyon@linaro.org>
  
  	PR target/122223
diff -Nrcpad gcc-13-20251113/gcc/DATESTAMP gcc-13-20251120/gcc/DATESTAMP
*** gcc-13-20251113/gcc/DATESTAMP	Thu Nov 13 22:33:20 2025
--- gcc-13-20251120/gcc/DATESTAMP	Thu Nov 20 22:33:21 2025
***************
*** 1 ****
! 20251113
--- 1 ----
! 20251120
diff -Nrcpad gcc-13-20251113/gcc/match.pd gcc-13-20251120/gcc/match.pd
*** gcc-13-20251113/gcc/match.pd	Thu Nov 13 22:33:24 2025
--- gcc-13-20251120/gcc/match.pd	Thu Nov 20 22:33:24 2025
*************** and,
*** 7934,7946 ****
     (with { tree op_type = TREE_TYPE (@3); }
      (if (vectorized_internal_fn_supported_p (as_internal_fn (cond_op), op_type)
          && is_truth_type_for (op_type, TREE_TYPE (@0)))
!      (cond_op @0 @1 @2))))
   (simplify
    (vec_cond @0 @1 (view_convert? (uncond_op@3 @2)))
     (with { tree op_type = TREE_TYPE (@3); }
      (if (vectorized_internal_fn_supported_p (as_internal_fn (cond_op), op_type)
          && is_truth_type_for (op_type, TREE_TYPE (@0)))
!      (cond_op (bit_not @0) @2 @1)))))
  
  /* Simplify:
  
--- 7934,7946 ----
     (with { tree op_type = TREE_TYPE (@3); }
      (if (vectorized_internal_fn_supported_p (as_internal_fn (cond_op), op_type)
          && is_truth_type_for (op_type, TREE_TYPE (@0)))
!      (cond_op @0 (view_convert @1) @2))))
   (simplify
    (vec_cond @0 @1 (view_convert? (uncond_op@3 @2)))
     (with { tree op_type = TREE_TYPE (@3); }
      (if (vectorized_internal_fn_supported_p (as_internal_fn (cond_op), op_type)
          && is_truth_type_for (op_type, TREE_TYPE (@0)))
!      (cond_op (bit_not @0) (view_convert @2) @1)))))
  
  /* Simplify:
  
diff -Nrcpad gcc-13-20251113/gcc/testsuite/ChangeLog gcc-13-20251120/gcc/testsuite/ChangeLog
*** gcc-13-20251113/gcc/testsuite/ChangeLog	Thu Nov 13 22:33:25 2025
--- gcc-13-20251120/gcc/testsuite/ChangeLog	Thu Nov 20 22:33:25 2025
***************
*** 1,3 ****
--- 1,29 ----
+ 2025-11-18  Richard Biener  <rguenther@suse.de>
+ 	    Alex Coplan  <alex.coplan@arm.com>
+ 
+ 	PR tree-optimization/112469
+ 	PR tree-optimization/122724
+ 	* gcc.target/aarch64/sve/pr122724.c: New test.
+ 
+ 2025-11-13  Hu, Lin1  <lin1.hu@intel.com>
+ 
+ 	Backported from master:
+ 	2025-11-13  Hu, Lin1  <lin1.hu@intel.com>
+ 
+ 	PR target/122446
+ 	* gcc.target/i386/amxbf16-asmintel-1.c: Modify dg-final to check intel
+ 	form.
+ 	* gcc.target/i386/amxcomplex-asmintel-1.c: Ditto.
+ 	* gcc.target/i386/amxfp16-asmintel-1.c: Ditto.
+ 	* gcc.target/i386/amxint8-asmintel-1.c: Ditto.
+ 	* gcc.target/i386/amxtile-asmintel-1.c: Ditto.
+ 	* g++.target/i386/pr122446-1.C: New test.
+ 	* g++.target/i386/pr122446-amxbf16.C: Ditto.
+ 	* g++.target/i386/pr122446-amxcomplex.C: Ditto.
+ 	* g++.target/i386/pr122446-amxfp16.C: Ditto.
+ 	* g++.target/i386/pr122446-amxint8.C: Ditto.
+ 	* g++.target/i386/pr122446-amxtile.C: Ditto.
+ 
  2025-11-07  Christophe Lyon  <christophe.lyon@linaro.org>
  
  	PR target/122223
diff -Nrcpad gcc-13-20251113/gcc/testsuite/gcc.target/aarch64/sve/pr122724.c gcc-13-20251120/gcc/testsuite/gcc.target/aarch64/sve/pr122724.c
*** gcc-13-20251113/gcc/testsuite/gcc.target/aarch64/sve/pr122724.c	Thu Jan  1 00:00:00 1970
--- gcc-13-20251120/gcc/testsuite/gcc.target/aarch64/sve/pr122724.c	Thu Nov 20 22:33:47 2025
***************
*** 0 ****
--- 1,13 ----
+ /* { dg-do compile } */
+ /* { dg-options "-O2" } */
+ _Float16 in[128];
+ short out[128];
+ void foo(void) {
+   for (int i = 0; i < 128; i++) {
+     _Float16 x = in[i];
+     _Float16 y = x ? -x : 0.0;
+     short dst;
+     __builtin_memcpy (&dst, &y, sizeof(dst));
+     out[i] = dst;
+   }
+ }
diff -Nrcpad gcc-13-20251113/libstdc++-v3/ChangeLog gcc-13-20251120/libstdc++-v3/ChangeLog
*** gcc-13-20251113/libstdc++-v3/ChangeLog	Thu Nov 13 22:34:41 2025
--- gcc-13-20251120/libstdc++-v3/ChangeLog	Thu Nov 20 22:34:25 2025
***************
*** 1,3 ****
--- 1,25 ----
+ 2025-11-18  Jonathan Wakely  <jwakely@redhat.com>
+ 
+ 	Backported from master:
+ 	2025-11-17  Jonathan Wakely  <jwakely@redhat.com>
+ 
+ 	PR libstdc++/122726
+ 	* src/filesystem/ops-common.h [_GLIBCXX_FILESYSTEM_IS_WINDOWS]
+ 	(rename): Use __last_system_error to set errno accurately.
+ 	* testsuite/27_io/filesystem/operations/rename.cc: Test
+ 	error_code matches errc::no_such_file_or_directory.
+ 
+ 2025-11-14  Jonathan Wakely  <jwakely@redhat.com>
+ 
+ 	Backported from master:
+ 	2025-11-13  Jonathan Wakely  <jwakely@redhat.com>
+ 
+ 	PR libstdc++/122661
+ 	* include/bits/forward_list.h (forward_list::assign(I, I)): Fix
+ 	value category in is_assignable check.
+ 	* testsuite/23_containers/forward_list/modifiers/122661.cc:
+ 	New test.
+ 
  2025-09-09  Tomasz Kamiński  <tkaminsk@redhat.com>
  
  	Backported from master:
diff -Nrcpad gcc-13-20251113/libstdc++-v3/include/bits/forward_list.h gcc-13-20251120/libstdc++-v3/include/bits/forward_list.h
*** gcc-13-20251113/libstdc++-v3/include/bits/forward_list.h	Thu Nov 13 22:34:42 2025
--- gcc-13-20251120/libstdc++-v3/include/bits/forward_list.h	Thu Nov 20 22:34:26 2025
*************** _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
*** 669,675 ****
  	void
  	assign(_InputIterator __first, _InputIterator __last)
  	{
! 	  typedef is_assignable<_Tp, decltype(*__first)> __assignable;
  	  _M_assign(__first, __last, __assignable());
  	}
  
--- 669,675 ----
  	void
  	assign(_InputIterator __first, _InputIterator __last)
  	{
! 	  typedef is_assignable<_Tp&, decltype(*__first)> __assignable;
  	  _M_assign(__first, __last, __assignable());
  	}
  
diff -Nrcpad gcc-13-20251113/libstdc++-v3/src/filesystem/ops-common.h gcc-13-20251120/libstdc++-v3/src/filesystem/ops-common.h
*** gcc-13-20251113/libstdc++-v3/src/filesystem/ops-common.h	Thu Nov 13 22:34:43 2025
--- gcc-13-20251120/libstdc++-v3/src/filesystem/ops-common.h	Thu Nov 20 22:34:26 2025
*************** namespace __gnu_posix
*** 155,164 ****
      if (MoveFileExW(oldname, newname,
  		    MOVEFILE_REPLACE_EXISTING | MOVEFILE_COPY_ALLOWED))
        return 0;
!     if (GetLastError() == ERROR_ACCESS_DENIED)
!       errno = EACCES;
!     else
!       errno = EIO;
      return -1;
    }
  
--- 155,161 ----
      if (MoveFileExW(oldname, newname,
  		    MOVEFILE_REPLACE_EXISTING | MOVEFILE_COPY_ALLOWED))
        return 0;
!     errno = std::__last_system_error().default_error_condition().value();
      return -1;
    }
  
diff -Nrcpad gcc-13-20251113/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/122661.cc gcc-13-20251120/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/122661.cc
*** gcc-13-20251113/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/122661.cc	Thu Jan  1 00:00:00 1970
--- gcc-13-20251120/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/122661.cc	Thu Nov 20 22:34:28 2025
***************
*** 0 ****
--- 1,20 ----
+ // { dg-do compile { target c++11 } }
+ 
+ // Bug 122661 - Incorrect value category handling in forward_list::assign
+ 
+ #include <forward_list>
+ 
+ struct S
+ {
+   S();
+   S& operator=(S const&) & = delete;
+   S& operator=(S const&) &&;
+ };
+ 
+ void
+ test_pr122661()
+ {
+   std::forward_list<S> fl;
+   S* iter = nullptr;
+   fl.assign(iter, iter);
+ }
diff -Nrcpad gcc-13-20251113/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc gcc-13-20251120/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
*** gcc-13-20251113/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc	Thu Nov 13 22:34:49 2025
--- gcc-13-20251120/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc	Thu Nov 20 22:34:31 2025
*************** test_directories()
*** 170,179 ****
--- 170,189 ----
    fs::remove_all(dir, ec);
  }
  
+ void
+ test_pr122726()
+ {
+   std::error_code ec;
+   const auto nonesuch = __gnu_test::nonexistent_path();
+   fs::rename(nonesuch, "new-name", ec);
+   VERIFY( ec == std::make_error_code(std::errc::no_such_file_or_directory) );
+ }
+ 
  int
  main()
  {
    test01();
    test_symlinks();
    test_directories();
+   test_pr122726();
  }
