https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122632
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Jason Merrill <[email protected]>: https://gcc.gnu.org/g:e2174f54883a26687b3244246ec8e6154afccc0f commit r16-8586-ge2174f54883a26687b3244246ec8e6154afccc0f Author: Jason Merrill <[email protected]> Date: Mon Apr 13 02:12:22 2026 -0400 c++: lambda capture pack and noexcept [PR122632] This should have been fixed by the patch for 122884, except that we were forgetting to treat the noexcept substitution as an unevaluated context. PR c++/122632 gcc/cp/ChangeLog: * pt.cc (tsubst_exception_specification): Add cp_unevaluated. gcc/testsuite/ChangeLog: * g++.dg/cpp23/lambda-scope11.C: New test.
