[PATCH v2] libstdc++: Make certain exceptions transaction_safe.

Torvald Riegel triegel@redhat.com
Thu Jan 21 15:25:00 GMT 2016


On Thu, 2016-01-21 at 11:00 +0100, Dominique d'Humières wrote:
> Torvald,
> 
> Now that I can bootstrap on darwin, I have found the following failure for libitm.c++/libstdc++-safeexc.C
> 
> /opt/gcc/work/libitm/testsuite/libitm.c++/libstdc++-safeexc.C:50:2: error: unsafe function call 'std::underflow_error::underflow_error(const string&)' within atomic transaction
>   throw T (what);
>   ^~~~~

Does this patch fix it (ie, mark the test unsupported)?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libitm-safeexc-unsupported.patch
Type: text/x-patch
Size: 976 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160121/53e1d508/attachment.bin>


More information about the Gcc-patches mailing list