g++.dg/other/unused1.C regress with "[PATCH] -fno-emit-class-debug-always to be default"

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Fri Sep 14 09:04:00 GMT 2007


> Date: Thu, 13 Sep 2007 22:55:08 -0700
> From: Mark Mitchell <mark@codesourcery.com>

> Hans-Peter Nilsson wrote:
> 
> > So, what action to take, considering that this isn't critical?
> > Revert spark's change or open a PR and xfail this test
> > everywhere?
> 
> Let's do the latter.  If you'd be willing to do that, that would be great.

Committed as follows.  I'm not sure it's needed on 4.2 (no tree
checked out) but I hope spark can test and commit there if
needed.

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

Index: g++.dg/other/unused1.C
===================================================================
--- g++.dg/other/unused1.C	(revision 128486)
+++ g++.dg/other/unused1.C	(working copy)
@@ -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)" } } */

brgds, H-P



More information about the Gcc-patches mailing list