aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libitm/ChangeLog5
-rw-r--r--libitm/testsuite/libitm.c++/libstdc++-safeexc.C5
2 files changed, 9 insertions, 1 deletions
diff --git a/libitm/ChangeLog b/libitm/ChangeLog
index 07c0ebc3..6179fc8 100644
--- a/libitm/ChangeLog
+++ b/libitm/ChangeLog
@@ -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
diff --git a/libitm/testsuite/libitm.c++/libstdc++-safeexc.C b/libitm/testsuite/libitm.c++/libstdc++-safeexc.C
index 3e1655e..20e2e5e 100644
--- a/libitm/testsuite/libitm.c++/libstdc++-safeexc.C
+++ b/libitm/testsuite/libitm.c++/libstdc++-safeexc.C
@@ -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>