IA64 uses // instead of # for comments in its assembly file.
authorJeffrey Yasskin <jyasskin@google.com>
Wed, 21 Jul 2010 18:46:40 +0000 (18:46 +0000)
committerJeffrey Yasskin <jyasskin@gcc.gnu.org>
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.

From-SVN: r162383

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

index 136ef6e6beec30e42311acb827a5406ba4d9556c..d6b70a2974e1fe72940ca920a07b8014c8b4e016 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 aa8383d43a99bed456a6cdd1c45459fae90a35db..20aed864ce0229e51d51e1ec3443b7801330a119 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