The stack is not unwound before std::terminate is called.
c Copyright (C) 1988-2021 Free Software Foundation, Inc.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gcc/Exception-handling.html