https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103382
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- The incorrect noexcept is fixed for GCC 12, but isn't suitable to backport. For the branches we should consider disabling cancellation as suggested in https://gcc.gnu.org/pipermail/gcc-patches/2021-December/586406.html