diff -Nrcpad gcc-13-20251016/LAST_UPDATED gcc-13-20251023/LAST_UPDATED
*** gcc-13-20251016/LAST_UPDATED	Thu Oct 16 22:32:26 2025
--- gcc-13-20251023/LAST_UPDATED	Thu Oct 23 22:34:02 2025
***************
*** 1 ****
! Obtained from git: releases/gcc-13 revision 93e8fc9791967c79e2cebf1d9c77cb0e419b5236
--- 1 ----
! Obtained from git: releases/gcc-13 revision baed370d9adfa6ee53fe51c8a913b7452d42e77f
diff -Nrcpad gcc-13-20251016/MD5SUMS gcc-13-20251023/MD5SUMS
*** gcc-13-20251016/MD5SUMS	Thu Oct 16 22:32:30 2025
--- gcc-13-20251023/MD5SUMS	Thu Oct 23 22:34:07 2025
***************
*** 1,5 ****
  # This file contains the MD5 checksums of the files in the
! # gcc-13-20251016.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-20251023.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
! c206d29128b74b80529924ee330cfb76  LAST_UPDATED
  81b3330d422f3ce1ef8b720dfae35068  MAINTAINERS
  2b61ddbd876fa839639a7ca551773426  Makefile.def
  5d2d6a74f897f8158d37f5f2ec6877ce  Makefile.in
--- 21,27 ----
  fd4ecdf5d672efe2b0e409aca9cf9446  ChangeLog.jit
  09538b708302f1735f6fa05b622ecf5e  ChangeLog.tree-ssa
  24ab760126489e69436a43185dc3d202  INSTALL/README
! 095be5b47ca67a5b644dcdaf34e356ee  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
! b21d62edcf945ba85091778539d9e0ba  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
! a7f170c219b59d4c687f521efc742efc  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
! 781843d7538ec420297e27d8bf29780d  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
! b2af766729ce5926560a054761ae7ff9  gcc/DATESTAMP
  d41d8cd98f00b204e9800998ecf8427e  gcc/DEV-PHASE
  eb92e1ff5e982ca07e173e0eb286d243  gcc/FSFChangeLog
  30e1e33411566388b3164558482dc5e6  gcc/FSFChangeLog.10
*************** ec6799501b2eb2923d5de6a66169dbd2  gcc/ON
*** 522,528 ****
  f6d47a542d432aed7e7eaaecb71d3a4c  gcc/acinclude.m4
  6526979dd900a0b58b7691b478a91fec  gcc/aclocal.m4
  16a499934b71eb6cf7c0d6899cd6006a  gcc/ada/.gitignore
! 7534bfbfdee76db6c2c9dd4590f3ab2f  gcc/ada/ChangeLog
  683be0b07dc4f64f118fd5e8ae9cb30d  gcc/ada/ChangeLog-2001
  7aff25efb203be4136b8776cdc812956  gcc/ada/ChangeLog-2002
  cd2379152000f40157d349018fb9364d  gcc/ada/ChangeLog-2003
--- 522,528 ----
  f6d47a542d432aed7e7eaaecb71d3a4c  gcc/acinclude.m4
  6526979dd900a0b58b7691b478a91fec  gcc/aclocal.m4
  16a499934b71eb6cf7c0d6899cd6006a  gcc/ada/.gitignore
! 5493c923c5b9e0d7e8b07d7f673e11b0  gcc/ada/ChangeLog
  683be0b07dc4f64f118fd5e8ae9cb30d  gcc/ada/ChangeLog-2001
  7aff25efb203be4136b8776cdc812956  gcc/ada/ChangeLog-2002
  cd2379152000f40157d349018fb9364d  gcc/ada/ChangeLog-2003
*************** b989a7c6b1c5cc32357303dd95b3abfc  gcc/ad
*** 706,712 ****
  a9c24cbcffac5d49ea9292aebe5db0c4  gcc/ada/exp_ch12.ads
  764c0f39ff6b795aa889da01f26b2e69  gcc/ada/exp_ch13.adb
  da828d4dca65dbb421d61d7faa8d0487  gcc/ada/exp_ch13.ads
! 1014458fddfddaa600134bdd0b7ee2df  gcc/ada/exp_ch2.adb
  874379155c2b31c67f54611f40fb4cde  gcc/ada/exp_ch2.ads
  4f75c9a91928bda7bcdf4826cf5e434b  gcc/ada/exp_ch3.adb
  d218e87874041895cd5628dbbd8a6666  gcc/ada/exp_ch3.ads
--- 706,712 ----
  a9c24cbcffac5d49ea9292aebe5db0c4  gcc/ada/exp_ch12.ads
  764c0f39ff6b795aa889da01f26b2e69  gcc/ada/exp_ch13.adb
  da828d4dca65dbb421d61d7faa8d0487  gcc/ada/exp_ch13.ads
! b6c421f43eccb727ea5921fa00b5cd90  gcc/ada/exp_ch2.adb
  874379155c2b31c67f54611f40fb4cde  gcc/ada/exp_ch2.ads
  4f75c9a91928bda7bcdf4826cf5e434b  gcc/ada/exp_ch3.adb
  d218e87874041895cd5628dbbd8a6666  gcc/ada/exp_ch3.ads
*************** ed52c14ae2117a1e2218b99326e827f7  gcc/co
*** 3748,3754 ****
  84710268000799a6e443185c65b5083e  gcc/config/gnu-d.cc
  66b5cf864ec6eee452dbe2a23c5f63b8  gcc/config/gnu-user.h
  e678ec61caa08addb752cf31cf39ea19  gcc/config/gnu-user.opt
! df334611bfceb7de93b71522186c97a8  gcc/config/gnu.h
  614bb3102b667d8f96684dddffd1f625  gcc/config/h8300/addsub.md
  cddc64825ce6e6e92692684251745f9e  gcc/config/h8300/bitfield.md
  7e3877c14e73e7008a634518dea17e1a  gcc/config/h8300/combiner.md
--- 3748,3754 ----
  84710268000799a6e443185c65b5083e  gcc/config/gnu-d.cc
  66b5cf864ec6eee452dbe2a23c5f63b8  gcc/config/gnu-user.h
  e678ec61caa08addb752cf31cf39ea19  gcc/config/gnu-user.opt
! b28807777f9e860e17fc11e4075ea340  gcc/config/gnu.h
  614bb3102b667d8f96684dddffd1f625  gcc/config/h8300/addsub.md
  cddc64825ce6e6e92692684251745f9e  gcc/config/h8300/bitfield.md
  7e3877c14e73e7008a634518dea17e1a  gcc/config/h8300/combiner.md
*************** b829ed0032c899e107be2db349c913f3  gcc/ta
*** 7637,7643 ****
  811da275a2b9d3186a6decf96c01b0ed  gcc/targhooks.cc
  edb193a32070c4a7626fb75382def9b9  gcc/targhooks.h
  f39fcaa8197187283ccfed40107b426d  gcc/testsuite/.gitattributes
! e1ef4c4cb991a221f8483766336c5637  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
! 23a6e141bf9e11a1a36a610055676f18  gcc/testsuite/ChangeLog
  862f04afbd87da2cc6bc432c3f28430f  gcc/testsuite/ChangeLog-1993-2007
  029a5d8dacd25eb5d4711452ac448e5b  gcc/testsuite/ChangeLog-2008
  13ac28c41d51b66b4ec40dba6bd50f39  gcc/testsuite/ChangeLog-2009
*************** e51121d34de5e0d22067137864528c8a  gcc/te
*** 95617,95622 ****
--- 95617,95623 ----
  72d48cda9550a7251bbd90fa56eff48e  gcc/testsuite/gnat.dg/renaming15.adb
  b08ade850be1a0a80325c1a93e9c9043  gcc/testsuite/gnat.dg/renaming16.adb
  0278c64b189f758651064d6a8aeac4db  gcc/testsuite/gnat.dg/renaming16_pkg.ads
+ b500c932c841816b5021e1c75ea367c9  gcc/testsuite/gnat.dg/renaming18.adb
  3afb13f37cfc3455f0f0be64d053892f  gcc/testsuite/gnat.dg/renaming2.adb
  1a954da0b1e7e11673319b058eb82146  gcc/testsuite/gnat.dg/renaming3.adb
  9c415422ce59266c9af89e8d3fd1df74  gcc/testsuite/gnat.dg/renaming4.ads
diff -Nrcpad gcc-13-20251016/gcc/ChangeLog gcc-13-20251023/gcc/ChangeLog
*** gcc-13-20251016/gcc/ChangeLog	Thu Oct 16 22:32:07 2025
--- gcc-13-20251023/gcc/ChangeLog	Thu Oct 23 22:32:23 2025
***************
*** 1,3 ****
--- 1,29 ----
+ 2025-10-20  Svante Signell  <svante.signell@gmail.com>
+ 
+ 	Backported from master:
+ 	2025-10-20  Svante Signell  <svante.signell@gmail.com>
+ 
+ 	PR go/104290
+ 	* config/gnu.h (OPTION_GLIBC_P, OPTION_GLIBC): Define.
+ 
+ 2025-10-16  Alex Coplan  <alex.coplan@arm.com>
+ 
+ 	Backported from master:
+ 	2025-09-15  Alex Coplan  <alex.coplan@arm.com>
+ 
+ 	PR tree-optimization/121772
+ 	* match.pd: Add type check to reduc(ctor) pattern.
+ 
+ 2025-10-16  Ayappan Perumal  <ayappap2@in.ibm.com>
+ 
+ 	Backported from master:
+ 	2025-10-16  Ayappan Perumal  <ayappap2@in.ibm.com>
+ 
+ 	* config/rs6000/aix.h (SUBTARGET_DRIVER_SELF_SPECS):
+ 	Error out when stack-protector option is used in AIX
+ 	as it is not supported on AIX
+ 	Approved By: Segher Boessenkool <segher@kernel.crashing.org>
+ 
  2025-10-14  Richard Biener  <rguenther@suse.de>
  
  	Backported from master:
diff -Nrcpad gcc-13-20251016/gcc/DATESTAMP gcc-13-20251023/gcc/DATESTAMP
*** gcc-13-20251016/gcc/DATESTAMP	Thu Oct 16 22:32:07 2025
--- gcc-13-20251023/gcc/DATESTAMP	Thu Oct 23 22:32:23 2025
***************
*** 1 ****
! 20251016
--- 1 ----
! 20251023
diff -Nrcpad gcc-13-20251016/gcc/ada/ChangeLog gcc-13-20251023/gcc/ada/ChangeLog
*** gcc-13-20251016/gcc/ada/ChangeLog	Thu Oct 16 22:32:07 2025
--- gcc-13-20251023/gcc/ada/ChangeLog	Thu Oct 23 22:32:23 2025
***************
*** 1,3 ****
--- 1,8 ----
+ 2025-10-20  Eric Botcazou  <ebotcazou@adacore.com>
+ 
+ 	PR ada/107536
+ 	* exp_ch2.adb (Expand_Renaming): Mark the entity as referenced.
+ 
  2025-07-03  Eric Botcazou  <ebotcazou@adacore.com>
  
  	* gcc-interface/decl.cc (gnat_to_gnu_component_type): Validate the
diff -Nrcpad gcc-13-20251016/gcc/ada/exp_ch2.adb gcc-13-20251023/gcc/ada/exp_ch2.adb
*** gcc-13-20251016/gcc/ada/exp_ch2.adb	Thu Oct 16 22:32:08 2025
--- gcc-13-20251023/gcc/ada/exp_ch2.adb	Thu Oct 23 22:32:23 2025
*************** package body Exp_Ch2 is
*** 704,712 ****
        T : constant Entity_Id := Etype (N);
  
     begin
        Rewrite (N, New_Copy_Tree (Renamed_Object (E)));
  
!       --  We mark the copy as unanalyzed, so that it is sure to be reanalyzed
        --  at the top level. This is needed in the packed case since we
        --  specifically avoided expanding packed array references when the
        --  renaming declaration was analyzed.
--- 704,718 ----
        T : constant Entity_Id := Etype (N);
  
     begin
+       --  Mark the entity as referenced since this reference is going away
+ 
+       Set_Referenced (E);
+ 
+       --  Now rewrite the reference as a copy of the renamed object
+ 
        Rewrite (N, New_Copy_Tree (Renamed_Object (E)));
  
!       --  Mark the copy as unanalyzed to make sure that it is reanalyzed
        --  at the top level. This is needed in the packed case since we
        --  specifically avoided expanding packed array references when the
        --  renaming declaration was analyzed.
diff -Nrcpad gcc-13-20251016/gcc/config/gnu.h gcc-13-20251023/gcc/config/gnu.h
*** gcc-13-20251016/gcc/config/gnu.h	Thu Oct 16 22:32:08 2025
--- gcc-13-20251023/gcc/config/gnu.h	Thu Oct 23 22:32:25 2025
*************** You should have received a copy of the G
*** 19,24 ****
--- 19,28 ----
  along with GCC.  If not, see <http://www.gnu.org/licenses/>.
  */
  
+ /* C libraries used on GNU/Hurd.  */
+ #define OPTION_GLIBC_P(opts)	(DEFAULT_LIBC == LIBC_GLIBC)
+ #define OPTION_GLIBC		OPTION_GLIBC_P (&global_options)
+ 
  #undef GNU_USER_TARGET_OS_CPP_BUILTINS
  #define GNU_USER_TARGET_OS_CPP_BUILTINS()		\
      do {					\
diff -Nrcpad gcc-13-20251016/gcc/testsuite/ChangeLog gcc-13-20251023/gcc/testsuite/ChangeLog
*** gcc-13-20251016/gcc/testsuite/ChangeLog	Thu Oct 16 22:32:11 2025
--- gcc-13-20251023/gcc/testsuite/ChangeLog	Thu Oct 23 22:32:28 2025
***************
*** 1,3 ****
--- 1,15 ----
+ 2025-10-20  Eric Botcazou  <ebotcazou@adacore.com>
+ 
+ 	* gnat.dg/renaming18.adb: New test.
+ 
+ 2025-10-16  Alex Coplan  <alex.coplan@arm.com>
+ 
+ 	Backported from master:
+ 	2025-09-15  Alex Coplan  <alex.coplan@arm.com>
+ 
+ 	PR tree-optimization/121772
+ 	* gcc.target/aarch64/torture/pr121772.c: New test.
+ 
  2025-10-05  Harald Anlauf  <anlauf@gmx.de>
  
  	Backported from master:
diff -Nrcpad gcc-13-20251016/gcc/testsuite/gnat.dg/renaming18.adb gcc-13-20251023/gcc/testsuite/gnat.dg/renaming18.adb
*** gcc-13-20251016/gcc/testsuite/gnat.dg/renaming18.adb	Thu Jan  1 00:00:00 1970
--- gcc-13-20251023/gcc/testsuite/gnat.dg/renaming18.adb	Thu Oct 23 22:33:33 2025
***************
*** 0 ****
--- 1,24 ----
+ -- { dg-do compile }
+ -- { dg-options "-gnatwu" }
+ 
+ procedure Renaming18 is
+ 
+   type T is record
+     Item : Integer;
+   end record;
+ 
+   A_T : T;
+   Item : Integer renames A_T.Item;
+ 
+   type VFA_T is record
+     Item : Integer;
+   end record
+   with Volatile_Full_Access;
+ 
+   A_VFA_T : VFA_T;
+   VFA_Item : Integer renames A_VFA_T.Item; -- { dg-bogus "is not referenced" }
+ 
+ begin
+   Item := 42;
+   VFA_Item := 42;
+ end;
