summaryrefslogtreecommitdiff
path: root/libitm/testsuite
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-05 14:14:29 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-05 14:14:29 +0000
commit2f2f7942cbb80d351c6565a19cd31e9408ab4d6e (patch)
tree656e14b7025f36ae8b600ca507b50a93e5cf0263 /libitm/testsuite
parentc91fedc5ff51bf5b152892060f29a6df8a8bb2af (diff)
downloadgcc-2f2f7942cbb80d351c6565a19cd31e9408ab4d6e.tar.gz
PR other/51171
* testsuite/libitm.c/reentrant.c: Remove xfail. (thread): Pass x to pure(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182911 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm/testsuite')
-rw-r--r--libitm/testsuite/libitm.c/reentrant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libitm/testsuite/libitm.c/reentrant.c b/libitm/testsuite/libitm.c/reentrant.c
index 451530a55ab..e8f49ba3e13 100644
--- a/libitm/testsuite/libitm.c/reentrant.c
+++ b/libitm/testsuite/libitm.c/reentrant.c
@@ -1,4 +1,4 @@
-/* { dg-do run { xfail *-*-* } }
+/* { dg-do run } */
/* { dg-options "-pthread" } */
/* Tests that new transactions can be started from both transaction_pure and
@@ -36,7 +36,7 @@ int __attribute__((transaction_unsafe)) unsafe(int i)
static void *thread (void *dummy __attribute__((unused)))
{
__transaction_atomic {
- pure(1);
+ pure(x);
}
__transaction_relaxed {
unsafe(1);