diff --git a/libitm/ChangeLog b/libitm/ChangeLog
index ad07098d32687538d5394a0e13e51d4ace9c94d4..c687448582352fcc3f233f927e09975963fcb882 100644
--- a/libitm/ChangeLog
+++ b/libitm/ChangeLog
@@ -1,3 +1,9 @@
+2012-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+	PR libitm/51173
+	* testsuite/libitm.c++/static_ctor.C: Skip test, note PR, remove
+	include, exclude options.
+
 2012-01-14  Torvald Riegel  <triegel@redhat.com>
 
 	* local.cc (GTM::gtm_undolog::rollback): Truncate undo log after
diff --git a/libitm/testsuite/libitm.c++/static_ctor.C b/libitm/testsuite/libitm.c++/static_ctor.C
index 18f95fc01e58beeaef6bdfc1b1696cac306318d8..1420fd328efb4db91d373ab95593b5e7734d27d8 100644
--- a/libitm/testsuite/libitm.c++/static_ctor.C
+++ b/libitm/testsuite/libitm.c++/static_ctor.C
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-pthread" } */
-/* { dg-xfail-if "" { *-*-* } { "*" } { "" } } */
+/* { dg-skip-if "PR libitm/51822" { *-*-* } } */
 /* Tests static constructors inside of transactional code.  */
 
 #include <pthread.h>