From: John David Anglin Date: Fri, 7 Jun 2019 23:22:15 +0000 (+0000) Subject: scanasm.exp (dg-function-on-line): Add pattern for hppa*-*-linux*. X-Git-Tag: releases/gcc-9.2.0~264 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d101a3765ae7162cfd107b74b275d63e52143d89;p=thirdparty%2Fgcc.git scanasm.exp (dg-function-on-line): Add pattern for hppa*-*-linux*. * lib/scanasm.exp (dg-function-on-line): Add pattern for hppa*-*-linux*. From-SVN: r272062 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9b909b3b4456..f131f62dd7c9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-06-07 John David Anglin + + * lib/scanasm.exp (dg-function-on-line): Add pattern for hppa*-*-linux*. + 2019-06-06 Richard Biener Backport from mainline diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp index cca6d642cc63..35ccbc86fc03 100644 --- a/gcc/testsuite/lib/scanasm.exp +++ b/gcc/testsuite/lib/scanasm.exp @@ -508,7 +508,10 @@ proc dg-function-on-line { args } { } } - 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*-*-*] } {