https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61199

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Since we have a TM wrapper for __cxa_allocate_exception, it seems reasonable to
have one for __cxa_free_exception as well.

In the testcase, we free the allocated 'bar' exception when the copy
constructor throws an 'int' exception, and then the 'int' exception propagates
out of foo.

Reply via email to