From: Aldy Hernandez Date: Thu, 5 Jan 2012 14:14:29 +0000 (+0000) Subject: re PR libitm/51171 (XFAIL: libitm.c/reentrant.c execution test) X-Git-Tag: releases/gcc-4.7.0~1165 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=1f53a8e6abfa95bcd84504c555201a03d8bd1da5;p=gcc.git 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 --- diff --git a/libitm/ChangeLog b/libitm/ChangeLog index d2f0fd752f08..050c4c182a25 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 451530a55ab7..e8f49ba3e134 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);