aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-07-21 18:46:40 +0000
committerJeffrey Yasskin <jyasskin@gcc.gnu.org>2010-07-21 18:46:40 +0000
commit5634254ce52c520f6215ed02d87f362bab1a6fdd (patch)
tree7616c845ca0e128a91da3a60dc7cb6d88ae142aa /gcc
parent7c6dafac644607278e21080f8a3e2ff79c3130aa (diff)
downloadgcc-5634254ce52c520f6215ed02d87f362bab1a6fdd.zip
gcc-5634254ce52c520f6215ed02d87f362bab1a6fdd.tar.gz
gcc-5634254ce52c520f6215ed02d87f362bab1a6fdd.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/lib/scanasm.exp2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 136ef6e..d6b70a2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp
index aa8383d43..20aed86 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