aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2010-09-22 16:31:19 +0000
committerMarcus Shawcroft <mshawcroft@gcc.gnu.org>2010-09-22 16:31:19 +0000
commit1cf2589d14da2dd092bc8e4423953b99343a3ba7 (patch)
tree42657af23abd93cb5057bc6ac0e1b9d364cae372
parent5d7b099c0a22ecc85218a99ef0df58b9240fdd4e (diff)
downloadgcc-1cf2589d14da2dd092bc8e4423953b99343a3ba7.zip
gcc-1cf2589d14da2dd092bc8e4423953b99343a3ba7.tar.gz
gcc-1cf2589d14da2dd092bc8e4423953b99343a3ba7.tar.bz2
scanasm.exp (dg-function-on-line): Permit .fnstart to appear in the regexp pattern between the expected label and...
2010-09-22 Marcus Shawcroft <marcus.shawcroft@arm.com> * lib/scanasm.exp(dg-function-on-line): Permit .fnstart to appear in the regexp pattern between the expected label and location string. From-SVN: r164527
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/scanasm.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d6a4cae..98ee743 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2010-09-22 Marcus Shawcroft <marcus.shawcroft@arm.com>
+ * lib/scanasm.exp(dg-function-on-line): Permit .fnstart to appear in
+ the regexp pattern between the expected label and location string.
+
+2010-09-22 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
* gcc.dg/pr28706.c: Typo fix to dg-require-effective-target lto.
2010-09-22 Marcus Shawcroft <marcus.shawcroft@arm.com>
diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp
index cf8f8a7..71ea415 100644
--- a/gcc/testsuite/lib/scanasm.exp
+++ b/gcc/testsuite/lib/scanasm.exp
@@ -339,7 +339,7 @@ proc dg-function-on-line { args } {
}
}
- set pattern [format {%s:[^\t]*(\t.(frame|mask|file)[^\t]*)*\t[^:]+:%d\n} \
+ set pattern [format {%s:[^\t]*(\t.(fnstart|frame|mask|file)[^\t]*)*\t[^:]+:%d\n} \
$symbol $line]
# The lack of spaces around $pattern is important, since they'd