diff options
author | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-05 14:14:29 +0000 |
---|---|---|
committer | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-05 14:14:29 +0000 |
commit | 2f2f7942cbb80d351c6565a19cd31e9408ab4d6e (patch) | |
tree | 656e14b7025f36ae8b600ca507b50a93e5cf0263 /libitm | |
parent | c91fedc5ff51bf5b152892060f29a6df8a8bb2af (diff) | |
download | gcc-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')
-rw-r--r-- | libitm/ChangeLog | 6 | ||||
-rw-r--r-- | libitm/testsuite/libitm.c/reentrant.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/libitm/ChangeLog b/libitm/ChangeLog index d2f0fd752f0..050c4c182a2 100644 --- a/libitm/ChangeLog +++ b/libitm/ChangeLog @@ -1,3 +1,9 @@ +2012-01-05 Aldy Hernandez <aldyh@redhat.com> + + PR other/51171 + * testsuite/libitm.c/reentrant.c: Remove xfail. + (thread): Pass x to pure(). + 2011-12-24 Torvald Riegel <triegel@redhat.com> * 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 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); |