From: Jeffrey Yasskin Date: Wed, 21 Jul 2010 18:46:40 +0000 (+0000) Subject: IA64 uses // instead of # for comments in its assembly file. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5634254ce52c520f6215ed02d87f362bab1a6fdd;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 136ef6e6bee..d6b70a2974e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-07-21 Jeffrey Yasskin + + PR c++/44641 + * lib/scanasm.exp (dg-function-on-line): Fix regex for IA64's + comments. + 2010-07-21 Richard Guenther PR lto/45018 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