diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 90cbdad574b1bb52eac716e485e23632818a9fc4..10a532452184afc120a966b667fafc2fa798e0d9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-14  Hans-Peter Nilsson  <hp@axis.com>
+
+	PR debug/33429
+	* g++.dg/other/unused1.C: XFAIL class2 scan.
+
 2007-09-13  Tobias Burnus  <burnus@net-b.de>
 
 	PR fortran/33343
diff --git a/gcc/testsuite/g++.dg/other/unused1.C b/gcc/testsuite/g++.dg/other/unused1.C
index e7e921523b446fadfe422a5d8a2ab3b459a37939..d652f41a1de0003c2c7bcfd381742f8edcb347ff 100644
--- a/gcc/testsuite/g++.dg/other/unused1.C
+++ b/gcc/testsuite/g++.dg/other/unused1.C
@@ -44,5 +44,6 @@ int bar5 (void)
 /* { dg-final { scan-assembler "foo" } } */
 /* { dg-final { scan-assembler "boo" } } */
 /* { dg-final { scan-assembler "cue" } } */
-/* { dg-final { scan-assembler "(string|ascii?)z?\[\t \]\"class2(\"|\\\\0)" } } */
+/* The xfail below is for PR33429.  */
+/* { dg-final { scan-assembler "(string|ascii?)z?\[\t \]\"class2(\"|\\\\0)" { xfail *-*-* } } } */
 /* { dg-final { scan-assembler "(string|ascii?)z?\[\t \]\"printer(\"|\\\\0)" } } */