Commit 5634254c by Jeffrey Yasskin Committed by Jeffrey Yasskin

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
parent 7c6dafac
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> 2010-07-21 Richard Guenther <rguenther@suse.de>
PR lto/45018 PR lto/45018
......
...@@ -316,7 +316,7 @@ proc dg-function-on-line { args } { ...@@ -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] $symbol $line]
# The lack of spaces around $pattern is important, since they'd # The lack of spaces around $pattern is important, since they'd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment