From: Marcus Shawcroft Date: Wed, 22 Sep 2010 16:31:19 +0000 (+0000) Subject: scanasm.exp (dg-function-on-line): Permit .fnstart to appear in the regexp pattern... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cf2589d14da2dd092bc8e4423953b99343a3ba7;p=gcc.git scanasm.exp (dg-function-on-line): Permit .fnstart to appear in the regexp pattern between the expected label and... 2010-09-22 Marcus Shawcroft * 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d6a4cae8c35..98ee7436f88 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-09-22 Marcus Shawcroft + + * 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 * gcc.dg/pr28706.c: Typo fix to dg-require-effective-target lto. diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp index cf8f8a71642..71ea4154385 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