[Bug middle-end/61199] [trans-mem] _cxa_free_exception is not transaction safe
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 9 19:54:00 GMT 2014
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.
More information about the Gcc-bugs
mailing list