diff options
author | Torvald Riegel <triegel@redhat.com> | 2016-01-21 18:25:42 +0000 |
---|---|---|
committer | Torvald Riegel <torvald@gcc.gnu.org> | 2016-01-21 18:25:42 +0000 |
commit | 0b96ffdb1755a9d4a2f06f55b39e041fb4470635 (patch) | |
tree | ba23753758cdc0b137ba7fd09f7e62eccd7242e3 /libitm | |
parent | 2efc145507c1be2c6272587ad2afec8642f5cd55 (diff) | |
download | gcc-0b96ffdb1755a9d4a2f06f55b39e041fb4470635.tar.gz |
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/ChangeLog | 5 | ||||
-rw-r--r-- | libitm/testsuite/libitm.c++/libstdc++-safeexc.C | 5 |
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> |