summaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/scanasm.exp
diff options
context:
space:
mode:
authorjyasskin <jyasskin@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-21 18:46:40 +0000
committerjyasskin <jyasskin@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-21 18:46:40 +0000
commit3eb2b2a85191d305839049ba7376cecda9c50cb1 (patch)
tree7616c845ca0e128a91da3a60dc7cb6d88ae142aa /gcc/testsuite/lib/scanasm.exp
parent0e948838fb53991de9810171eaa1e694d34541b3 (diff)
downloadgcc-3eb2b2a85191d305839049ba7376cecda9c50cb1.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162383 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib/scanasm.exp')
-rw-r--r--gcc/testsuite/lib/scanasm.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp
index aa8383d43a9..20aed864ce0 100644
--- a/gcc/testsuite/lib/scanasm.exp
+++ b/gcc/testsuite/lib/scanasm.exp
@@ -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