This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[4.2 patch] xfail assembler scan in g++.dg/other/unused1.C
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Cc: mark at codesourcery dot com
- Date: Tue, 25 Dec 2007 13:53:29 -0500 (EST)
- Subject: [4.2 patch] xfail assembler scan in g++.dg/other/unused1.C
The enclosed patch xfails the "class2" assembler scan as is done
on the trunk. The test has been failing on multiple configurations
including hppa2.0w-hp-hpux11.11 since September 13 on the 4.2 branch.
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.
Ok?
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2007-12-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR c++/33640
* g++.dg/other/unused1.C: xfail scan for "class2" in assembler output.
Index: g++.dg/other/unused1.C
===================================================================
--- g++.dg/other/unused1.C (revision 131166)
+++ g++.dg/other/unused1.C (working copy)
@@ -44,5 +44,6 @@
/* { dg-final { scan-assembler "foo" } } */
/* { dg-final { scan-assembler "boo" } } */
/* { dg-final { scan-assembler "cue" } } */
-/* { dg-final { scan-assembler "(string|ascii?)z?\t\"class2(\"|\\\\000)" } } */
+/* 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(\"|\\\\000)" } } */