From 0b96ffdb1755a9d4a2f06f55b39e041fb4470635 Mon Sep 17 00:00:00 2001 From: Torvald Riegel Date: Thu, 21 Jan 2016 18:25:42 +0000 Subject: [PATCH] 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 --- libitm/ChangeLog | 5 +++++ libitm/testsuite/libitm.c++/libstdc++-safeexc.C | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 + + * testsuite/libitm.c++/libstdc++-safeexc.C: Not supported on darwin + or AIX. + 2016-01-19 Richard Henderson 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 #include