Commit 8b6606f2 by John David Anglin Committed by John David Anglin

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): Add match pattern for
	hppa*-*-*.

From-SVN: r167638
parent 78a14252
2010-12-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR c++/44641
* lib/scanasm.exp (dg-function-on-line): Add match pattern for
hppa*-*-*.
2010-12-08 Jason Merrill <jason@redhat.com>
PR c++/46348
......
......@@ -339,8 +339,13 @@ proc dg-function-on-line { args } {
}
}
set pattern [format {%s:[^\t]*(\t.(fnstart|frame|mask|file)[^\t]*)*\t[^:]+:%d\n} \
$symbol $line]
if { [istarget "hppa*-*-*"] } {
set pattern [format {\t;[^:]+:%d\n(\t[^\t]+\n)+%s:\n\t.PROC} \
$line $symbol]
} else {
set pattern [format {%s:[^\t]*(\t.(fnstart|frame|mask|file)[^\t]*)*\t[^:]+:%d\n} \
$symbol $line]
}
# The lack of spaces around $pattern is important, since they'd
# become part of the regex scan-assembler tries to match.
......
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