https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64535
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note that the emergency buffer should not be in TLS, because if some thread
throws, that exception is saved using std::exception_ptr to be rethrown to
another thread, then the original thread exits, the exception would be gone.