This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix spurious failure of g++.dg/other/unused1.C
- From: Andreas Schwab <schwab at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 19 May 2006 21:19:34 +0200
- Subject: Fix spurious failure of g++.dg/other/unused1.C
ia64 uses stringz instead of string for STRING_ASM_OP, causing a spurious
testsuite failure. Tested on ia64-suse-linux and committed as obvious.
Andreas.
2006-05-19 Andreas Schwab <schwab@suse.de>
* g++.dg/other/unused1.C: Also match "stringz".
Index: gcc/testsuite/g++.dg/other/unused1.C
===================================================================
--- gcc/testsuite/g++.dg/other/unused1.C (revision 113903)
+++ gcc/testsuite/g++.dg/other/unused1.C (working copy)
@@ -43,5 +43,5 @@ int bar5 (void)
/* { dg-final { scan-assembler "foo" } } */
/* { dg-final { scan-assembler "boo" } } */
/* { dg-final { scan-assembler "cue" } } */
-/* { dg-final { scan-assembler "string\t\"class2\"" } } */
-/* { dg-final { scan-assembler "string\t\"printer\"" } } */
+/* { dg-final { scan-assembler "stringz?\t\"class2\"" } } */
+/* { dg-final { scan-assembler "stringz?\t\"printer\"" } } */
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."