This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> Le 21 janv. 2016 Ã 18:15, Dominique d'HumiÃres <dominiq@lps.ens.fr> a Ãcrit :
> 
> 
>> Le 21 janv. 2016 Ã 16:25, Torvald Riegel <triegel@redhat.com> a Ãcrit :
>> 
>> 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)?
> 
> AFAIU the error occurs at compile time and If my memory is correct the patch wonât fix the issue (not tested) and the test should be skipped on *-*-darwin* powerpc-ibm-aix*.

OK, my memory was not good!-( However the target selection in the patch is wrong, the following one works

// { dg-do run { target { ! { *-*-darwin* powerpc-ibm-aix* } } } }


Dominique


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]