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

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

From-SVN: r162383
This commit is contained in:
Jeffrey Yasskin 2010-07-21 18:46:40 +00:00 committed by Jeffrey Yasskin
parent 7c6dafac64
commit 5634254ce5
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-07-21 Jeffrey Yasskin <jyasskin@google.com>
PR c++/44641
* lib/scanasm.exp (dg-function-on-line): Fix regex for IA64's
comments.
2010-07-21 Richard Guenther <rguenther@suse.de>
PR lto/45018

View File

@ -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