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