OSDN Git Service

PR other/51171
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Jan 2012 14:14:29 +0000 (14:14 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Jan 2012 14:14:29 +0000 (14:14 +0000)
        * 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

libitm/ChangeLog
libitm/testsuite/libitm.c/reentrant.c

index d2f0fd7..050c4c1 100644 (file)
@@ -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
index 451530a..e8f49ba 100644 (file)
@@ -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);