public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch] Fix line number tests on ia64
@ 2010-07-21 18:41 Jeffrey Yasskin
  2010-07-21 18:42 ` Diego Novillo
  0 siblings, 1 reply; 2+ messages in thread
From: Jeffrey Yasskin @ 2010-07-21 18:41 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

IA64 uses // instead of # for comments in its assembly file.


2010-07-21  Jeffrey Yasskin  <jyasskin@google.com>

	PR c++/44641
	* lib/scanasm.exp (dg-function-on-line): Fix regex for IA64's comments.

[-- Attachment #2: fix_lineno_ia64.patch --]
[-- Type: text/x-patch, Size: 513 bytes --]

Index: gcc/testsuite/lib/scanasm.exp
===================================================================
--- gcc/testsuite/lib/scanasm.exp	(revision 162381)
+++ gcc/testsuite/lib/scanasm.exp	(working copy)
@@ -316,7 +316,7 @@ proc dg-function-on-line { args } {
 	}
     }
 
-    set pattern [format {%s:[^\t]*(\t.file[^\t]*)?\t# \S*:%d\n} \
+    set pattern [format {%s:[^\t]*(\t.file[^\t]*)?\t[^:]+:%d\n} \
                  $symbol $line]
 
     # The lack of spaces around $pattern is important, since they'd

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] Fix line number tests on ia64
  2010-07-21 18:41 [patch] Fix line number tests on ia64 Jeffrey Yasskin
@ 2010-07-21 18:42 ` Diego Novillo
  0 siblings, 0 replies; 2+ messages in thread
From: Diego Novillo @ 2010-07-21 18:42 UTC (permalink / raw)
  To: Jeffrey Yasskin; +Cc: gcc-patches

On 10-07-21 14:41 , Jeffrey Yasskin wrote:
> IA64 uses // instead of # for comments in its assembly file.
>
>
> 2010-07-21  Jeffrey Yasskin<jyasskin@google.com>
>
> 	PR c++/44641
> 	* lib/scanasm.exp (dg-function-on-line): Fix regex for IA64's comments.

OK.


Diego.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-21 18:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-21 18:41 [patch] Fix line number tests on ia64 Jeffrey Yasskin
2010-07-21 18:42 ` Diego Novillo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).