This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix spurious failure of g++.dg/other/unused1.C


> ia64 uses stringz instead of string for STRING_ASM_OP, causing a spurious
> testsuite failure.

Same on SPARC with asciz.

Tested on SPARC/Solaris 8 and AMD64/Linux, commited as obvious.


2006-08-07  Eric Botcazou  <ebotcazou@libertysurf.fr>

 	* g++.dg/other/unused1.C: Also match "asci?z".


-- 
Eric Botcazou
Index: g++.dg/other/unused1.C
===================================================================
--- g++.dg/other/unused1.C	(revision 115944)
+++ 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 "stringz?\t\"class2\"" } } */
-/* { dg-final { scan-assembler "stringz?\t\"printer\"" } } */
+/* { dg-final { scan-assembler "(string|asci)z?\t\"class2\"" } } */
+/* { dg-final { scan-assembler "(string|asci)z?\t\"printer\"" } } */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]