From: Uros Bizjak Date: Wed, 4 Aug 2010 14:19:01 +0000 (+0200) Subject: re PR c++/44641 (Generated constructors and destructors get wrong debug location... X-Git-Tag: releases/gcc-4.6.0~5260 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=079e56d05c8f12be7596ba1d4b59e9e8b30f74a6;p=thirdparty%2Fgcc.git re PR c++/44641 (Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition) PR c++/44641 * lib/scanasm.exp (dg-function-on-line): Expand regex to also ignore .frame and .mask assembler directives. From-SVN: r162866 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 90dee6b74ed3..22400bd42cfe 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-08-04 Uros Bizjak + + 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 * gcc.dg/tree-ssa/vrp35.c: Adjust. diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp index 20aed864ce02..995fba09b6ea 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[^:]+:%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