Commit 079e56d0 by Uros Bizjak Committed by Uros Bizjak

re PR c++/44641 (Generated constructors and destructors get wrong debug location…

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
parent 4bc20f3a
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> 2010-08-04 Richard Guenther <rguenther@suse.de>
* gcc.dg/tree-ssa/vrp35.c: Adjust. * gcc.dg/tree-ssa/vrp35.c: Adjust.
......
...@@ -316,7 +316,7 @@ proc dg-function-on-line { args } { ...@@ -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] $symbol $line]
# The lack of spaces around $pattern is important, since they'd # The lack of spaces around $pattern is important, since they'd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment