]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c++/44641 (Generated constructors and destructors get wrong debug location...
authorUros Bizjak <ubizjak@gmail.com>
Wed, 4 Aug 2010 14:19:01 +0000 (16:19 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 4 Aug 2010 14:19:01 +0000 (16:19 +0200)
PR c++/44641
* lib/scanasm.exp (dg-function-on-line): Expand regex to also ignore
.frame and .mask assembler directives.

From-SVN: r162866

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

index 90dee6b74ed321752100d5721794703b777c2f03..22400bd42cfec2bcdc6aa1a0d3de57fe5a08842f 100644 (file)
@@ -1,3 +1,9 @@
+2010-08-04  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR c++/44641
+       * lib/scanasm.exp (dg-function-on-line): Expand regex to also ignore
+       .frame and .mask assembler directives.
+
 2010-08-04  Richard Guenther  <rguenther@suse.de>
 
        * gcc.dg/tree-ssa/vrp35.c: Adjust.
index 20aed864ce0229e51d51e1ec3443b7801330a119..995fba09b6ea57dc60c82dc88605e3a52fdd61f1 100644 (file)
@@ -316,7 +316,7 @@ proc dg-function-on-line { args } {
        }
     }
 
-    set pattern [format {%s:[^\t]*(\t.file[^\t]*)?\t[^:]+:%d\n} \
+    set pattern [format {%s:[^\t]*(\t.(frame|mask|file)[^\t]*)*\t[^:]+:%d\n} \
                  $symbol $line]
 
     # The lack of spaces around $pattern is important, since they'd