As a result of moving the function label position on hppa-linux, we need a new pattern for hppa*-*-linux* in dg-function-on-line.
Tested on hppa-unknown-linux-gnu and hppa2.0w-hp-hpux11.11. Committed to trunk, gcc-9 and gcc-8. Dave -- John David Anglin dave.ang...@bell.net 2019-06-07 John David Anglin <dang...@gcc.gnu.org> * lib/scanasm.exp (dg-function-on-line): Add pattern for hppa*-*-linux*. Index: lib/scanasm.exp =================================================================== --- lib/scanasm.exp (revision 271146) +++ lib/scanasm.exp (working copy) @@ -508,7 +508,10 @@ } } - if { [istarget hppa*-*-*] } { + if { [istarget hppa*-*-linux*] } { + set pattern [format {%s:\n\t.PROC\n\t.CALLINFO.*\n\t.ENTRY\n.L.*:\n(\t.file[^\t]*)*\t[^:]+:%d(:[0-9]+)?\n} \ + $symbol $line] + } elseif { [istarget hppa*-*-*] } { set pattern [format {\t;[^:]+:%d(:[0-9]+)?\n(\t[^\t]+\n)+%s:\n\t.PROC} \ $line $symbol] } elseif { [istarget mips*-*-*] } {