From 6adf1bd514c75ed0e7610dfa1ac6bf9c3304e286 Mon Sep 17 00:00:00 2001
From: Hans-Peter Nilsson <hp@axis.com>
Date: Fri, 14 Sep 2007 06:48:17 +0000
Subject: [PATCH] re PR debug/33429 (debug info for class2 in
 g++.dg/other/unused1.C  requires -femit-class-debug-always)

	PR debug/33429
	* g++.dg/other/unused1.C: XFAIL class2 scan.

From-SVN: r128489
---
 gcc/testsuite/ChangeLog              | 5 +++++
 gcc/testsuite/g++.dg/other/unused1.C | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 90cbdad574b1..10a532452184 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 e7e921523b44..d652f41a1de0 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)" } } */
-- 
GitLab