https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114152
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:80c386cb20d38ebc55f30a79418fabfbed904b87 commit r14-9219-g80c386cb20d38ebc55f30a79418fabfbed904b87 Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Feb 28 14:45:18 2024 +0000 libstdc++: Fix noexcept on dtors in <experimental/scope> [PR114152] The PR points out that the destructors all have incorrect noexcept-specifiers. libstdc++-v3/ChangeLog: PR libstdc++/114152 * include/experimental/scope (scope_exit scope_fail): Make destructor unconditionally noexcept. (scope_sucess): Fix noexcept-specifier. * testsuite/experimental/scopeguard/114152.cc: New test.