The test doesn't pass on SPARC because a different comment character is used...

Fixed by not scanning comment characters at all; tested on x86 and SPARC/Linux, 
applied on the mainline.


2011-10-14  Eric Botcazou  <ebotca...@adacore.com>

        * gnat.dg/specs/debug1.ads: Tweak.


-- 
Eric Botcazou
Index: gnat.dg/specs/debug1.ads
===================================================================
--- gnat.dg/specs/debug1.ads	(revision 179844)
+++ gnat.dg/specs/debug1.ads	(working copy)
@@ -11,4 +11,4 @@ package Debug1 is
 
 end Debug1;
 
--- { dg-final { scan-assembler-times "# DW_AT_artificial" 4 } }
+-- { dg-final { scan-assembler-times "DW_AT_artificial" 8 } }

Reply via email to