From 1f53a8e6abfa95bcd84504c555201a03d8bd1da5 Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Thu, 5 Jan 2012 14:14:29 +0000 Subject: [PATCH] re PR libitm/51171 (XFAIL: libitm.c/reentrant.c execution test) PR other/51171 * testsuite/libitm.c/reentrant.c: Remove xfail. (thread): Pass x to pure(). From-SVN: r182911 --- libitm/ChangeLog | 6 ++++++ libitm/testsuite/libitm.c/reentrant.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libitm/ChangeLog b/libitm/ChangeLog index d2f0fd7..050c4c1 100644 --- a/libitm/ChangeLog +++ b/libitm/ChangeLog @@ -1,3 +1,9 @@ +2012-01-05 Aldy Hernandez + + PR other/51171 + * testsuite/libitm.c/reentrant.c: Remove xfail. + (thread): Pass x to pure(). + 2011-12-24 Torvald Riegel * beginend.cc (GTM::gtm_thread::trycommit): Don't enforce diff --git a/libitm/testsuite/libitm.c/reentrant.c b/libitm/testsuite/libitm.c/reentrant.c index 451530a..e8f49ba 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); -- 2.7.4