IA64 uses // instead of # for comments in its assembly file.
authorjyasskin <jyasskin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jul 2010 18:46:40 +0000 (18:46 +0000)
committerjyasskin <jyasskin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jul 2010 18:46:40 +0000 (18:46 +0000)
PR c++/44641
* lib/scanasm.exp (dg-function-on-line): Fix regex for IA64's
comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162383 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/lib/scanasm.exp

index 136ef6e..d6b70a2 100644 (file)
@@ -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
index aa8383d..20aed86 100644 (file)
@@ -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