aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2019-06-07 23:15:49 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2019-06-07 23:15:49 +0000
commit7486a74390576d173b3e9d3c555b1bef1259213d (patch)
tree207f375f4213bfdf04ff5d29717db1762e6c3220
parente13896a3a90f990596fa37be2abbfba01923624e (diff)
downloadgcc-7486a74390576d173b3e9d3c555b1bef1259213d.zip
gcc-7486a74390576d173b3e9d3c555b1bef1259213d.tar.gz
gcc-7486a74390576d173b3e9d3c555b1bef1259213d.tar.bz2
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: r272060
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/lib/scanasm.exp5
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index db5f938..80cb5cc 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2019-06-07 John David Anglin <danglin@gcc.gnu.org>
+
+ * lib/scanasm.exp (dg-function-on-line): Add pattern for hppa*-*-linux*.
+
2019-06-07 Mark Eggleston <mark.eggleston@codethink.com>
PR fortran/89100
diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp
index cca6d64..35ccbc8 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*-*-*] } {