libitm: Disable testing transaction-safe exceptions on Darwin and AIX.

* testsuite/libitm.c++/libstdc++-safeexc.C: Not supported on darwin
	or AIX.

From-SVN: r232693
This commit is contained in:
Torvald Riegel 2016-01-21 18:25:42 +00:00 committed by Torvald Riegel
parent 2efc145507
commit 0b96ffdb17
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-01-21 Torvald Riegel <triegel@redhat.com>
* testsuite/libitm.c++/libstdc++-safeexc.C: Not supported on darwin
or AIX.
2016-01-19 Richard Henderson <rth@redhat.com>
PR bootstrap/69343

View File

@ -2,7 +2,10 @@
// are indeed that. Thus, this also tests the transactional clones in
// libstdc++ and libsupc++.
// { dg-do run }
// Not supported on Darwin nor AIX because those lack the support for
// weak references to undefined functions that we need in libstdc++ to make
// exceptions transaction-safe.
// { dg-do run { target { ! { *-*-darwin* powerpc-ibm-aix* } } } }
#include <iostream>
#include <exception>