diff -Nrcpad gcc-14-20250530/LAST_UPDATED gcc-14-20250606/LAST_UPDATED
*** gcc-14-20250530/LAST_UPDATED	Fri May 30 22:32:54 2025
--- gcc-14-20250606/LAST_UPDATED	Fri Jun  6 22:34:26 2025
***************
*** 1 ****
! Obtained from git: releases/gcc-14 revision f4def864a27c41025bbed0d086fa4628921fec28
--- 1 ----
! Obtained from git: releases/gcc-14 revision cf7cb901d7ba3e5d7475d774c42dc5609f91b558
diff -Nrcpad gcc-14-20250530/MD5SUMS gcc-14-20250606/MD5SUMS
*** gcc-14-20250530/MD5SUMS	Fri May 30 22:32:58 2025
--- gcc-14-20250606/MD5SUMS	Fri Jun  6 22:34:30 2025
***************
*** 1,5 ****
  # This file contains the MD5 checksums of the files in the
! # gcc-14-20250530.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-14-20250606.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
*************** fc9280b02bc68e4fb1ef8d51ccc25061  Change
*** 23,29 ****
  fd4ecdf5d672efe2b0e409aca9cf9446  ChangeLog.jit
  09538b708302f1735f6fa05b622ecf5e  ChangeLog.tree-ssa
  24ab760126489e69436a43185dc3d202  INSTALL/README
! e095be9181505935bb23ffdabd72d0ba  LAST_UPDATED
  1671040823f8eb8436a06fdd18065e02  MAINTAINERS
  304c3887135aefa27c21292ec585b0a3  Makefile.def
  8dd93fbf2e32bcbd2faba10e3b8ba2b0  Makefile.in
--- 23,29 ----
  fd4ecdf5d672efe2b0e409aca9cf9446  ChangeLog.jit
  09538b708302f1735f6fa05b622ecf5e  ChangeLog.tree-ssa
  24ab760126489e69436a43185dc3d202  INSTALL/README
! 7f8c1e0158fa6d44a5f53ee6e4e9d4c8  LAST_UPDATED
  1671040823f8eb8436a06fdd18065e02  MAINTAINERS
  304c3887135aefa27c21292ec585b0a3  Makefile.def
  8dd93fbf2e32bcbd2faba10e3b8ba2b0  Makefile.in
*************** bc7394806417778d77541ba1ec0e4a70  gcc/BA
*** 505,511 ****
  a916467b91076e631dd8edb7424769c7  gcc/COPYING.LIB
  d32239bcb673463ab874e80d47fae504  gcc/COPYING3
  6a6a8e020838b23406c81b19c1d46df6  gcc/COPYING3.LIB
! 57e0900e95022e5bfac8900a702fef75  gcc/ChangeLog
  a3b63c675afa7a655cc2bfa8a907af79  gcc/ChangeLog-1997
  d9a88529352a010253c2e8fb1ed6023b  gcc/ChangeLog-1998
  240f08f81cb4699e8b49347db38233db  gcc/ChangeLog-1999
--- 505,511 ----
  a916467b91076e631dd8edb7424769c7  gcc/COPYING.LIB
  d32239bcb673463ab874e80d47fae504  gcc/COPYING3
  6a6a8e020838b23406c81b19c1d46df6  gcc/COPYING3.LIB
! b13febfa650110b36abe8a62bc9cffd6  gcc/ChangeLog
  a3b63c675afa7a655cc2bfa8a907af79  gcc/ChangeLog-1997
  d9a88529352a010253c2e8fb1ed6023b  gcc/ChangeLog-1998
  240f08f81cb4699e8b49347db38233db  gcc/ChangeLog-1999
*************** fb3fadb88e1d2b3b640cfaaa5ff11780  gcc/Ch
*** 541,547 ****
  3eb07e0b2e542409bf73d359f7f65609  gcc/ChangeLog.ptr
  e13638e26743ba41e6011b76cc00d9a9  gcc/ChangeLog.tree-ssa
  739ab47f6425bcea1d05e4fc0542de54  gcc/ChangeLog.tuples
! e4bbae4b5998234efa1f9b2e60b91a80  gcc/DATESTAMP
  d41d8cd98f00b204e9800998ecf8427e  gcc/DEV-PHASE
  eb92e1ff5e982ca07e173e0eb286d243  gcc/FSFChangeLog
  30e1e33411566388b3164558482dc5e6  gcc/FSFChangeLog.10
--- 541,547 ----
  3eb07e0b2e542409bf73d359f7f65609  gcc/ChangeLog.ptr
  e13638e26743ba41e6011b76cc00d9a9  gcc/ChangeLog.tree-ssa
  739ab47f6425bcea1d05e4fc0542de54  gcc/ChangeLog.tuples
! 8bb5eac2e9550e1095b356bd3a8f9838  gcc/DATESTAMP
  d41d8cd98f00b204e9800998ecf8427e  gcc/DEV-PHASE
  eb92e1ff5e982ca07e173e0eb286d243  gcc/FSFChangeLog
  30e1e33411566388b3164558482dc5e6  gcc/FSFChangeLog.10
*************** d36a2aabdf8da39363d9be0efef739b0  gcc/co
*** 5361,5367 ****
  11daa3f7f65177eb32e2dad6fd437637  gcc/coroutine-passes.cc
  f1ae4baa11bd5b6dd111907d100e7c0c  gcc/coverage.cc
  bf1a3b3570d1b69e07f60f5150f38a93  gcc/coverage.h
! 967a0702b26780375aea50c2f8c2c0d1  gcc/cp/ChangeLog
  d271e3663538ba1f3281cab3838e92cd  gcc/cp/ChangeLog-1993
  f5a44adbc05521162350ca409d1d95ce  gcc/cp/ChangeLog-1994
  ac55db48d964cb5469ff03c1cd3ee04d  gcc/cp/ChangeLog-1995
--- 5361,5367 ----
  11daa3f7f65177eb32e2dad6fd437637  gcc/coroutine-passes.cc
  f1ae4baa11bd5b6dd111907d100e7c0c  gcc/coverage.cc
  bf1a3b3570d1b69e07f60f5150f38a93  gcc/coverage.h
! 4aaa59c9bb066a895a47e6fde4199d25  gcc/cp/ChangeLog
  d271e3663538ba1f3281cab3838e92cd  gcc/cp/ChangeLog-1993
  f5a44adbc05521162350ca409d1d95ce  gcc/cp/ChangeLog-1994
  ac55db48d964cb5469ff03c1cd3ee04d  gcc/cp/ChangeLog-1995
*************** a067c19b95bfc08094e338eb152ec647  gcc/cp
*** 5430,5436 ****
  e459328dad760653a7ba4c5c6a0e07b1  gcc/cp/g++spec.cc
  36027d22493b558f5a557dac9993fd54  gcc/cp/gen-cxxapi-file.py
  d3c17c84efdf6a50d26f287b397fc85f  gcc/cp/init.cc
! c03a17603eb96c3422afd4c668842aa1  gcc/cp/lambda.cc
  66bc6ee758a433ad34ad94d5b839154b  gcc/cp/lang-specs.h
  d12efe90a1bc48c1279579e51d07c2f6  gcc/cp/lex.cc
  c9f1276984f27647e3aac405d236a360  gcc/cp/logic.cc
--- 5430,5436 ----
  e459328dad760653a7ba4c5c6a0e07b1  gcc/cp/g++spec.cc
  36027d22493b558f5a557dac9993fd54  gcc/cp/gen-cxxapi-file.py
  d3c17c84efdf6a50d26f287b397fc85f  gcc/cp/init.cc
! 06325c7371178290451443418bff21f3  gcc/cp/lambda.cc
  66bc6ee758a433ad34ad94d5b839154b  gcc/cp/lang-specs.h
  d12efe90a1bc48c1279579e51d07c2f6  gcc/cp/lex.cc
  c9f1276984f27647e3aac405d236a360  gcc/cp/logic.cc
*************** e8a9eb01b9451a357155e7152df1c669  gcc/ta
*** 8060,8066 ****
  a05663c52c607143c607d3ecf1391979  gcc/targhooks.cc
  51d240e574a3f9ecec346d64a04ac634  gcc/targhooks.h
  f39fcaa8197187283ccfed40107b426d  gcc/testsuite/.gitattributes
! 919d68670f7e4dbb617a3338d9b1ef0a  gcc/testsuite/ChangeLog
  862f04afbd87da2cc6bc432c3f28430f  gcc/testsuite/ChangeLog-1993-2007
  029a5d8dacd25eb5d4711452ac448e5b  gcc/testsuite/ChangeLog-2008
  13ac28c41d51b66b4ec40dba6bd50f39  gcc/testsuite/ChangeLog-2009
--- 8060,8066 ----
  a05663c52c607143c607d3ecf1391979  gcc/targhooks.cc
  51d240e574a3f9ecec346d64a04ac634  gcc/targhooks.h
  f39fcaa8197187283ccfed40107b426d  gcc/testsuite/.gitattributes
! 57d09684572534ad019e64989d07f211  gcc/testsuite/ChangeLog
  862f04afbd87da2cc6bc432c3f28430f  gcc/testsuite/ChangeLog-1993-2007
  029a5d8dacd25eb5d4711452ac448e5b  gcc/testsuite/ChangeLog-2008
  13ac28c41d51b66b4ec40dba6bd50f39  gcc/testsuite/ChangeLog-2009
*************** c61f89754bf19eb066c90223050eb1d6  gcc/te
*** 19798,19803 ****
--- 19798,19804 ----
  2cdd3df6d70a6187c69e0b2e31916579  gcc/testsuite/g++.dg/cpp2a/concepts-lambda20.C
  4ca9ff6f446b7952827edf777db0b0ea  gcc/testsuite/g++.dg/cpp2a/concepts-lambda21.C
  a33c273c880831d4ae8354f3eae13e25  gcc/testsuite/g++.dg/cpp2a/concepts-lambda23.C
+ c5f62ec8bee71a828d47886f4bfb04dc  gcc/testsuite/g++.dg/cpp2a/concepts-lambda24.C
  c1dc95530d3c5579fce346628c40061a  gcc/testsuite/g++.dg/cpp2a/concepts-lambda3.C
  6f185f0a7016ab67c7f0d4ffa7012182  gcc/testsuite/g++.dg/cpp2a/concepts-lambda4.C
  86976d8466300862e381a2182c187b35  gcc/testsuite/g++.dg/cpp2a/concepts-lambda5.C
*************** d2c31258feee390ed4af80cdc8eacf9e  gcc/te
*** 105298,105303 ****
--- 105299,105307 ----
  4f688dab65d3a3dce65837fb7dc54961  gcc/testsuite/gnat.dg/specs/opt5.ads
  f156038848774963622d503fe89a172b  gcc/testsuite/gnat.dg/specs/opt5_pkg.ads
  3ea255ec02895b0a6def7cabd8242168  gcc/testsuite/gnat.dg/specs/opt6.ads
+ 28f117df0f784b2fc789be52a8363bc4  gcc/testsuite/gnat.dg/specs/opt7.ads
+ 9076cc8edf48925166dff1f53e624108  gcc/testsuite/gnat.dg/specs/opt7_pkg.adb
+ ab4d470a175348305442c782df20dc08  gcc/testsuite/gnat.dg/specs/opt7_pkg.ads
  a33d565d33da0c1fd4225f3e0005c81e  gcc/testsuite/gnat.dg/specs/oversize.ads
  c177b376a4a8546663a7caa87b66abb4  gcc/testsuite/gnat.dg/specs/pack10.ads
  aca39671a4d090d6d3c7a2abf4ee74a6  gcc/testsuite/gnat.dg/specs/pack10_pkg.adb
*************** c46ee145b917a2cc00062d238597ff66  gcc/tr
*** 110359,110365 ****
  7c14f981c2baa34566ab0be620ac617a  gcc/tree-switch-conversion.cc
  e52dd1666766e097473010a395e05b72  gcc/tree-switch-conversion.h
  ff0ac55bde82f5e21ae65ccdbf2e13f2  gcc/tree-tailcall.cc
! 6e14d7823ddd7f9dfaf2e2b64089c7e3  gcc/tree-vect-data-refs.cc
  baa0d7c2a79888b8d490ef9ea9bf876b  gcc/tree-vect-generic.cc
  a5c65c0281a1b6faf6652682936ae74e  gcc/tree-vect-loop-manip.cc
  b007b2d97ecc0ea9c1d6d6f84e9ebbeb  gcc/tree-vect-loop.cc
--- 110363,110369 ----
  7c14f981c2baa34566ab0be620ac617a  gcc/tree-switch-conversion.cc
  e52dd1666766e097473010a395e05b72  gcc/tree-switch-conversion.h
  ff0ac55bde82f5e21ae65ccdbf2e13f2  gcc/tree-tailcall.cc
! 7c2d603160e6cc66d6f331c03cbd63e4  gcc/tree-vect-data-refs.cc
  baa0d7c2a79888b8d490ef9ea9bf876b  gcc/tree-vect-generic.cc
  a5c65c0281a1b6faf6652682936ae74e  gcc/tree-vect-loop-manip.cc
  b007b2d97ecc0ea9c1d6d6f84e9ebbeb  gcc/tree-vect-loop.cc
*************** d828e38384c506bf5e7d5a3c02725a37  libssp
*** 123612,123618 ****
  7bb3c32ba0a48d1cf785305e1b783eb6  libssp/strncpy-chk.c
  a19c79c1d86436e86b0fee41e6cf6b15  libssp/vsnprintf-chk.c
  145156e880b03115b393070d0ed37be3  libssp/vsprintf-chk.c
! 5a5d6f5e57b2a2d2769a11112df3612d  libstdc++-v3/ChangeLog
  7aa6c40440a44fcf5ec94c066160c2f8  libstdc++-v3/ChangeLog-1998
  7aff86600b6a1ed3fa87305075a92db0  libstdc++-v3/ChangeLog-1999
  a6f28e8fc9bb07696a9e068b439a3a87  libstdc++-v3/ChangeLog-2000
--- 123616,123622 ----
  7bb3c32ba0a48d1cf785305e1b783eb6  libssp/strncpy-chk.c
  a19c79c1d86436e86b0fee41e6cf6b15  libssp/vsnprintf-chk.c
  145156e880b03115b393070d0ed37be3  libssp/vsprintf-chk.c
! 995d43d1f68dda2d8818c45a175536e8  libstdc++-v3/ChangeLog
  7aa6c40440a44fcf5ec94c066160c2f8  libstdc++-v3/ChangeLog-1998
  7aff86600b6a1ed3fa87305075a92db0  libstdc++-v3/ChangeLog-1999
  a6f28e8fc9bb07696a9e068b439a3a87  libstdc++-v3/ChangeLog-2000
*************** ffc7507a47e4f46142f0884585cdc4bb  libstd
*** 124386,124392 ****
  8e3a4aba69b57bbf801c0231fc5c257b  libstdc++-v3/include/bits/semaphore_base.h
  48fe8952d8a396bf02bfe3357d15cdeb  libstdc++-v3/include/bits/shared_ptr.h
  99a5df256c93ebb2a209690f3a69038a  libstdc++-v3/include/bits/shared_ptr_atomic.h
! 5db7072fca6e80f99c23359a988ac52d  libstdc++-v3/include/bits/shared_ptr_base.h
  3aa5cb4e1e4ba05b6b9f2a06325df1f7  libstdc++-v3/include/bits/slice_array.h
  8b95c6e1a7676878090a6c78eaed8631  libstdc++-v3/include/bits/specfun.h
  566c72d79d1a38ec59d61d0ea6387356  libstdc++-v3/include/bits/sstream.tcc
--- 124390,124396 ----
  8e3a4aba69b57bbf801c0231fc5c257b  libstdc++-v3/include/bits/semaphore_base.h
  48fe8952d8a396bf02bfe3357d15cdeb  libstdc++-v3/include/bits/shared_ptr.h
  99a5df256c93ebb2a209690f3a69038a  libstdc++-v3/include/bits/shared_ptr_atomic.h
! 106eba0b5cb0e3da977718fadadee076  libstdc++-v3/include/bits/shared_ptr_base.h
  3aa5cb4e1e4ba05b6b9f2a06325df1f7  libstdc++-v3/include/bits/slice_array.h
  8b95c6e1a7676878090a6c78eaed8631  libstdc++-v3/include/bits/specfun.h
  566c72d79d1a38ec59d61d0ea6387356  libstdc++-v3/include/bits/sstream.tcc
*************** c4040ddafb4996fabd1901d7d8e72765  libstd
*** 126843,126849 ****
  6ff8d87d5d3d085604975998a212f74f  libstdc++-v3/testsuite/20_util/shared_ptr/observers/owner_before.cc
  ea203dcee9ac7166ecba4c58a326cc7c  libstdc++-v3/testsuite/20_util/shared_ptr/observers/unique.cc
  5594e19e9b158e97426d6089840fa1cc  libstdc++-v3/testsuite/20_util/shared_ptr/observers/use_count.cc
! 4bf456010b41da55e3097acd3283eca6  libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/1.cc
  139de8c288b3d1231ea2273f5d6ab169  libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/2.cc
  f29912cc6495bc9bb56ab937962df84b  libstdc++-v3/testsuite/20_util/shared_ptr/requirements/weak_type.cc
  4754d67920d7fbb9d5a6ba6a9605e8fb  libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc
--- 126847,126854 ----
  6ff8d87d5d3d085604975998a212f74f  libstdc++-v3/testsuite/20_util/shared_ptr/observers/owner_before.cc
  ea203dcee9ac7166ecba4c58a326cc7c  libstdc++-v3/testsuite/20_util/shared_ptr/observers/unique.cc
  5594e19e9b158e97426d6089840fa1cc  libstdc++-v3/testsuite/20_util/shared_ptr/observers/use_count.cc
! 549b70e5de4de4416498a203f84f2f0c  libstdc++-v3/testsuite/20_util/shared_ptr/requirements/1.cc
! 8b883711f75db54ac0766703a6fe7a70  libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/1.cc
  139de8c288b3d1231ea2273f5d6ab169  libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/2.cc
  f29912cc6495bc9bb56ab937962df84b  libstdc++-v3/testsuite/20_util/shared_ptr/requirements/weak_type.cc
  4754d67920d7fbb9d5a6ba6a9605e8fb  libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc
*************** b35834c4a9da455585d4f464c3ee1034  libstd
*** 127186,127192 ****
  6b897d033cb55ff130e351833c656265  libstdc++-v3/testsuite/20_util/weak_ptr/cons/self_move.cc
  3e5f4fd7115282166271cb4cf0d1416f  libstdc++-v3/testsuite/20_util/weak_ptr/lock/1.cc
  188d587f6435fead910a6d57289108ca  libstdc++-v3/testsuite/20_util/weak_ptr/observers/owner_before.cc
! 5717b53c16c4f11f4ec5f7cbd4b8f680  libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc
  7bf497ba385011f9bbb1d6961bfce3bc  libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc
  cafbe413de74a53bbf9c5ba4c1534383  libstdc++-v3/testsuite/21_strings/basic_string/40160.cc
  f4e5079b1eb55de552c9dd9629b3ad1e  libstdc++-v3/testsuite/21_strings/basic_string/56166.cc
--- 127191,127198 ----
  6b897d033cb55ff130e351833c656265  libstdc++-v3/testsuite/20_util/weak_ptr/cons/self_move.cc
  3e5f4fd7115282166271cb4cf0d1416f  libstdc++-v3/testsuite/20_util/weak_ptr/lock/1.cc
  188d587f6435fead910a6d57289108ca  libstdc++-v3/testsuite/20_util/weak_ptr/observers/owner_before.cc
! 5932ad1030d5abe0125342125560f5b2  libstdc++-v3/testsuite/20_util/weak_ptr/requirements/1.cc
! 075434ad76688d9e68807142e9a84ef5  libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc
  7bf497ba385011f9bbb1d6961bfce3bc  libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc
  cafbe413de74a53bbf9c5ba4c1534383  libstdc++-v3/testsuite/21_strings/basic_string/40160.cc
  f4e5079b1eb55de552c9dd9629b3ad1e  libstdc++-v3/testsuite/21_strings/basic_string/56166.cc
diff -Nrcpad gcc-14-20250530/gcc/ChangeLog gcc-14-20250606/gcc/ChangeLog
*** gcc-14-20250530/gcc/ChangeLog	Fri May 30 22:32:12 2025
--- gcc-14-20250606/gcc/ChangeLog	Fri Jun  6 22:32:25 2025
***************
*** 1,3 ****
--- 1,22 ----
+ 2025-06-05  Eric Botcazou  <ebotcazou@adacore.com>
+ 
+ 	* tree-vect-data-refs.cc (vect_can_force_dr_alignment_p): Return
+ 	false if the variable has no symtab node.
+ 
+ 2025-05-30  Jakub Jelinek  <jakub@redhat.com>
+ 
+ 	Backported from master:
+ 	2025-04-17  Jakub Jelinek  <jakub@redhat.com>
+ 
+ 	PR target/119834
+ 	* config/s390/s390.md (define_split after *cpymem_short): Use
+ 	(clobber (match_scratch N)) instead of (clobber (scratch)).  Use
+ 	(match_dup 4) and operands[4] instead of (match_dup 3) and operands[3]
+ 	in the last of those.
+ 	(define_split after *clrmem_short): Use (clobber (match_scratch N))
+ 	instead of (clobber (scratch)).
+ 	(define_split after *cmpmem_short): Likewise.
+ 
  2025-05-26  Stefan Schulze Frielinghaus  <stefansf@gcc.gnu.org>
  
  	Backported from master:
diff -Nrcpad gcc-14-20250530/gcc/DATESTAMP gcc-14-20250606/gcc/DATESTAMP
*** gcc-14-20250530/gcc/DATESTAMP	Fri May 30 22:32:12 2025
--- gcc-14-20250606/gcc/DATESTAMP	Fri Jun  6 22:32:25 2025
***************
*** 1 ****
! 20250530
--- 1 ----
! 20250606
diff -Nrcpad gcc-14-20250530/gcc/cp/ChangeLog gcc-14-20250606/gcc/cp/ChangeLog
*** gcc-14-20250530/gcc/cp/ChangeLog	Fri May 30 22:32:13 2025
--- gcc-14-20250606/gcc/cp/ChangeLog	Fri Jun  6 22:32:33 2025
***************
*** 1,3 ****
--- 1,9 ----
+ 2025-06-02  Jason Merrill  <jason@redhat.com>
+ 
+ 	PR c++/120123
+ 	* lambda.cc (nonlambda_method_basetype): Look through lambdas
+ 	even when current_class_ref is null.
+ 
  2025-05-27  Patrick Palka  <ppalka@redhat.com>
  
  	Backported from master:
diff -Nrcpad gcc-14-20250530/gcc/cp/lambda.cc gcc-14-20250606/gcc/cp/lambda.cc
*** gcc-14-20250530/gcc/cp/lambda.cc	Fri May 30 22:32:13 2025
--- gcc-14-20250606/gcc/cp/lambda.cc	Fri Jun  6 22:32:33 2025
*************** current_nonlambda_function (void)
*** 1002,1013 ****
  tree
  nonlambda_method_basetype (void)
  {
-   if (!current_class_ref)
-     return NULL_TREE;
- 
    tree type = current_class_type;
    if (!type || !LAMBDA_TYPE_P (type))
!     return type;
  
    while (true)
      {
--- 1002,1010 ----
  tree
  nonlambda_method_basetype (void)
  {
    tree type = current_class_type;
    if (!type || !LAMBDA_TYPE_P (type))
!     return current_class_ref ? type : NULL_TREE;
  
    while (true)
      {
diff -Nrcpad gcc-14-20250530/gcc/testsuite/ChangeLog gcc-14-20250606/gcc/testsuite/ChangeLog
*** gcc-14-20250530/gcc/testsuite/ChangeLog	Fri May 30 22:32:14 2025
--- gcc-14-20250606/gcc/testsuite/ChangeLog	Fri Jun  6 22:32:35 2025
***************
*** 1,3 ****
--- 1,30 ----
+ 2025-06-05  Eric Botcazou  <ebotcazou@adacore.com>
+ 
+ 	* gnat.dg/specs/opt7.ads: New test.
+ 	* gnat.dg/specs/opt7_pkg.ads: New helper.
+ 	* gnat.dg/specs/opt7_pkg.adb: Likewise.
+ 
+ 2025-06-02  Jason Merrill  <jason@redhat.com>
+ 
+ 	PR c++/120123
+ 	* g++.dg/cpp2a/concepts-lambda24.C: New test.
+ 
+ 2025-05-30  Jakub Jelinek  <jakub@redhat.com>
+ 
+ 	Backported from master:
+ 	2025-05-30  Jakub Jelinek  <jakub@redhat.com>
+ 
+ 	PR target/120480
+ 	* gcc.dg/pr120480.c: New test.
+ 
+ 2025-05-30  Jakub Jelinek  <jakub@redhat.com>
+ 
+ 	Backported from master:
+ 	2025-04-17  Jakub Jelinek  <jakub@redhat.com>
+ 
+ 	PR target/119834
+ 	* g++.target/s390/pr119834.C: New test.
+ 
  2025-05-27  Patrick Palka  <ppalka@redhat.com>
  
  	Backported from master:
diff -Nrcpad gcc-14-20250530/gcc/testsuite/g++.dg/cpp2a/concepts-lambda24.C gcc-14-20250606/gcc/testsuite/g++.dg/cpp2a/concepts-lambda24.C
*** gcc-14-20250530/gcc/testsuite/g++.dg/cpp2a/concepts-lambda24.C	Thu Jan  1 00:00:00 1970
--- gcc-14-20250606/gcc/testsuite/g++.dg/cpp2a/concepts-lambda24.C	Fri Jun  6 22:32:42 2025
***************
*** 0 ****
--- 1,13 ----
+ // PR c++/120123
+ // { dg-do compile { target c++20 } }
+ 
+ struct H {
+     void member(int) {}
+     void call() {
+         [this]() {
+             [this](const auto& v)
+                 requires requires { /*this->*/member(v); }
+             { return member(v); }(0);
+         };
+     }
+ };
diff -Nrcpad gcc-14-20250530/gcc/testsuite/gnat.dg/specs/opt7.ads gcc-14-20250606/gcc/testsuite/gnat.dg/specs/opt7.ads
*** gcc-14-20250530/gcc/testsuite/gnat.dg/specs/opt7.ads	Thu Jan  1 00:00:00 1970
--- gcc-14-20250606/gcc/testsuite/gnat.dg/specs/opt7.ads	Fri Jun  6 22:33:32 2025
***************
*** 0 ****
--- 1,15 ----
+ -- { dg-do compile }
+ -- { dg-options "-O2 -gnatn" }
+ 
+ with Opt7_Pkg; use Opt7_Pkg;
+ 
+ package Opt7 is
+ 
+   type Rec is record
+     E : Enum;
+   end record;
+ 
+   function Image (R : Rec) return String is
+     (if R.E = A then Image (R.E) else "");
+ 
+ end Opt7;
diff -Nrcpad gcc-14-20250530/gcc/testsuite/gnat.dg/specs/opt7_pkg.adb gcc-14-20250606/gcc/testsuite/gnat.dg/specs/opt7_pkg.adb
*** gcc-14-20250530/gcc/testsuite/gnat.dg/specs/opt7_pkg.adb	Thu Jan  1 00:00:00 1970
--- gcc-14-20250606/gcc/testsuite/gnat.dg/specs/opt7_pkg.adb	Fri Jun  6 22:33:32 2025
***************
*** 0 ****
--- 1,15 ----
+ package body Opt7_Pkg is
+ 
+   type Constant_String_Access is access constant String;
+ 
+   type Enum_Name is array (Enum) of Constant_String_Access;
+ 
+   Enum_Name_Table : constant Enum_Name :=
+     (A => new String'("A"), B => new String'("B"));
+ 
+   function Image (E : Enum) return String is
+   begin
+     return Enum_Name_Table (E).all;
+   end Image;
+ 
+ end Opt7_Pkg;
diff -Nrcpad gcc-14-20250530/gcc/testsuite/gnat.dg/specs/opt7_pkg.ads gcc-14-20250606/gcc/testsuite/gnat.dg/specs/opt7_pkg.ads
*** gcc-14-20250530/gcc/testsuite/gnat.dg/specs/opt7_pkg.ads	Thu Jan  1 00:00:00 1970
--- gcc-14-20250606/gcc/testsuite/gnat.dg/specs/opt7_pkg.ads	Fri Jun  6 22:33:32 2025
***************
*** 0 ****
--- 1,9 ----
+ -- { dg-excess-errors "no code generated" }
+ 
+ package Opt7_Pkg is
+ 
+   type Enum is (A, B);
+ 
+   function Image (E : Enum) return String with Inline;
+ 
+ end Opt7_Pkg;
diff -Nrcpad gcc-14-20250530/gcc/tree-vect-data-refs.cc gcc-14-20250606/gcc/tree-vect-data-refs.cc
*** gcc-14-20250530/gcc/tree-vect-data-refs.cc	Fri May 30 22:32:37 2025
--- gcc-14-20250606/gcc/tree-vect-data-refs.cc	Fri Jun  6 22:33:33 2025
*************** vect_can_force_dr_alignment_p (const_tre
*** 7058,7064 ****
      return false;
  
    if (decl_in_symtab_p (decl)
!       && !symtab_node::get (decl)->can_increase_alignment_p ())
      return false;
  
    if (TREE_STATIC (decl))
--- 7058,7065 ----
      return false;
  
    if (decl_in_symtab_p (decl)
!       && (!symtab_node::get (decl)
! 	  || !symtab_node::get (decl)->can_increase_alignment_p ()))
      return false;
  
    if (TREE_STATIC (decl))
diff -Nrcpad gcc-14-20250530/libstdc++-v3/ChangeLog gcc-14-20250606/libstdc++-v3/ChangeLog
*** gcc-14-20250530/libstdc++-v3/ChangeLog	Fri May 30 22:32:40 2025
--- gcc-14-20250606/libstdc++-v3/ChangeLog	Fri Jun  6 22:34:01 2025
***************
*** 1,3 ****
--- 1,18 ----
+ 2025-06-05  Giuseppe D'Angelo  <giuseppe.dangelo@kdab.com>
+ 
+ 	Backported from master:
+ 	2025-03-14  Giuseppe D'Angelo  <giuseppe.dangelo@kdab.com>
+ 
+ 	* include/bits/shared_ptr_base.h (lock): Fixed a compile error
+ 	when calling lock() on a weak_ptr<T[]>, by removing an
+ 	erroneous usage of element_type from within lock().
+ 	* testsuite/20_util/shared_ptr/requirements/explicit_instantiation/1.cc:
+ 	Add more tests for array types.
+ 	* testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc:
+ 	Likewise.
+ 	* testsuite/20_util/shared_ptr/requirements/1.cc: New test.
+ 	* testsuite/20_util/weak_ptr/requirements/1.cc: New test.
+ 
  2025-05-23  Release Manager
  
  	* GCC 14.3.0 released.
diff -Nrcpad gcc-14-20250530/libstdc++-v3/include/bits/shared_ptr_base.h gcc-14-20250606/libstdc++-v3/include/bits/shared_ptr_base.h
*** gcc-14-20250530/libstdc++-v3/include/bits/shared_ptr_base.h	Fri May 30 22:32:41 2025
--- gcc-14-20250606/libstdc++-v3/include/bits/shared_ptr_base.h	Fri Jun  6 22:34:02 2025
*************** _GLIBCXX_BEGIN_NAMESPACE_VERSION
*** 2069,2075 ****
  
        __shared_ptr<_Tp, _Lp>
        lock() const noexcept
!       { return __shared_ptr<element_type, _Lp>(*this, std::nothrow); }
  
        long
        use_count() const noexcept
--- 2069,2075 ----
  
        __shared_ptr<_Tp, _Lp>
        lock() const noexcept
!       { return __shared_ptr<_Tp, _Lp>(*this, std::nothrow); }
  
        long
        use_count() const noexcept
diff -Nrcpad gcc-14-20250530/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/1.cc gcc-14-20250606/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/1.cc
*** gcc-14-20250530/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/1.cc	Thu Jan  1 00:00:00 1970
--- gcc-14-20250606/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/1.cc	Fri Jun  6 22:34:04 2025
***************
*** 0 ****
--- 1,33 ----
+ // { dg-do compile { target c++11 } }
+ // { dg-require-effective-target hosted }
+ 
+ #include <memory>
+ #include <testsuite_tr1.h>
+ 
+ using namespace __gnu_test;
+ 
+ void
+ test01()
+ {
+   std::shared_ptr<ClassType> ptr;
+   std::shared_ptr<const ClassType> ptr2 = ptr;
+ 
+ #if __cpp_lib_shared_ptr_arrays >= 201611L
+   std::shared_ptr<ClassType[10]> ptr_array;
+   std::shared_ptr<ClassType[]> ptr_array2 = ptr_array;
+   std::shared_ptr<ClassType const []> ptr_array3 = ptr_array;
+ #endif
+ }
+ 
+ void
+ test02()
+ {
+   std::shared_ptr<IncompleteClass> ptr;
+   std::shared_ptr<const IncompleteClass> ptr2 = ptr;
+ 
+ #if __cpp_lib_shared_ptr_arrays >= 201611L
+   std::shared_ptr<IncompleteClass[10]> ptr_array;
+   std::shared_ptr<IncompleteClass[]> ptr_array2 = ptr_array;
+   std::shared_ptr<IncompleteClass const []> ptr_array3 = ptr_array;
+ #endif
+ }
diff -Nrcpad gcc-14-20250530/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/1.cc gcc-14-20250606/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/1.cc
*** gcc-14-20250530/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/1.cc	Fri May 30 22:32:41 2025
--- gcc-14-20250606/libstdc++-v3/testsuite/20_util/shared_ptr/requirements/explicit_instantiation/1.cc	Fri Jun  6 22:34:04 2025
*************** template class std::shared_ptr<int>;
*** 28,30 ****
--- 28,42 ----
  template class std::shared_ptr<void>;
  template class std::shared_ptr<ClassType>;
  template class std::shared_ptr<IncompleteClass>;
+ 
+ #if __cpp_lib_shared_ptr_arrays >= 201611L
+ template class std::shared_ptr<ClassType []>;
+ template class std::shared_ptr<ClassType [42]>;
+ template class std::shared_ptr<ClassType const []>;
+ template class std::shared_ptr<ClassType const [42]>;
+ 
+ template class std::shared_ptr<IncompleteClass []>;
+ template class std::shared_ptr<IncompleteClass [42]>;
+ template class std::shared_ptr<IncompleteClass const []>;
+ template class std::shared_ptr<IncompleteClass const [42]>;
+ #endif
diff -Nrcpad gcc-14-20250530/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/1.cc gcc-14-20250606/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/1.cc
*** gcc-14-20250530/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/1.cc	Thu Jan  1 00:00:00 1970
--- gcc-14-20250606/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/1.cc	Fri Jun  6 22:34:04 2025
***************
*** 0 ****
--- 1,33 ----
+ // { dg-do compile { target c++11 } }
+ // { dg-require-effective-target hosted }
+ 
+ #include <memory>
+ #include <testsuite_tr1.h>
+ 
+ using namespace __gnu_test;
+ 
+ void
+ test01()
+ {
+   std::weak_ptr<ClassType> ptr;
+   std::weak_ptr<const ClassType> ptr2 = ptr;
+ 
+ #if __cpp_lib_shared_ptr_arrays >= 201611L
+   std::weak_ptr<ClassType[10]> ptr_array;
+   std::weak_ptr<ClassType[]> ptr_array2 = ptr_array;
+   std::weak_ptr<ClassType const []> ptr_array3 = ptr_array;
+ #endif
+ }
+ 
+ void
+ test02()
+ {
+   std::weak_ptr<IncompleteClass> ptr;
+   std::weak_ptr<const IncompleteClass> ptr2 = ptr;
+ 
+ #if __cpp_lib_shared_ptr_arrays >= 201611L
+   std::weak_ptr<IncompleteClass[10]> ptr_array;
+   std::weak_ptr<IncompleteClass[]> ptr_array2 = ptr_array;
+   std::weak_ptr<IncompleteClass const []> ptr_array3 = ptr_array;
+ #endif
+ }
diff -Nrcpad gcc-14-20250530/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc gcc-14-20250606/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc
*** gcc-14-20250530/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc	Fri May 30 22:32:41 2025
--- gcc-14-20250606/libstdc++-v3/testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc	Fri Jun  6 22:34:04 2025
*************** template class std::weak_ptr<int>;
*** 28,30 ****
--- 28,42 ----
  template class std::weak_ptr<void>;
  template class std::weak_ptr<ClassType>;
  template class std::weak_ptr<IncompleteClass>;
+ 
+ #if __cpp_lib_shared_ptr_arrays >= 201611L
+ template class std::weak_ptr<ClassType []>;
+ template class std::weak_ptr<ClassType [42]>;
+ template class std::weak_ptr<ClassType const []>;
+ template class std::weak_ptr<ClassType const [42]>;
+ 
+ template class std::weak_ptr<IncompleteClass []>;
+ template class std::weak_ptr<IncompleteClass [42]>;
+ template class std::weak_ptr<IncompleteClass const []>;
+ template class std::weak_ptr<IncompleteClass const [42]>;
+ #endif
