aboutsummaryrefslogtreecommitdiff
path: root/libitm
diff options
context:
space:
mode:
authorTorvald Riegel <triegel@redhat.com>2016-01-21 18:25:42 +0000
committerTorvald Riegel <torvald@gcc.gnu.org>2016-01-21 18:25:42 +0000
commit0b96ffdb1755a9d4a2f06f55b39e041fb4470635 (patch)
treeba23753758cdc0b137ba7fd09f7e62eccd7242e3 /libitm
parent2efc145507c1be2c6272587ad2afec8642f5cd55 (diff)
downloadgcc-0b96ffdb1755a9d4a2f06f55b39e041fb4470635.zip
gcc-0b96ffdb1755a9d4a2f06f55b39e041fb4470635.tar.gz
gcc-0b96ffdb1755a9d4a2f06f55b39e041fb4470635.tar.bz2
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
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 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>