aboutsummaryrefslogtreecommitdiff
path: root/libitm
diff options
context:
space:
mode:
authortorvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-21 18:25:42 +0000
committertorvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-21 18:25:42 +0000
commit8649302f3cc46c67459ddc359a779a409062d838 (patch)
treeba23753758cdc0b137ba7fd09f7e62eccd7242e3 /libitm
parent5bbf8ad36e7d1d9d463e1238579fbb2c9e284c95 (diff)
libitm: Disable testing transaction-safe exceptions on Darwin and AIX.
* testsuite/libitm.c++/libstdc++-safeexc.C: Not supported on darwin or AIX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232693 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm')
-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 07c0ebc30a1..6179fc8d741 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 3e1655e83ec..20e2e5ecdc8 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>