Commit 63987952 by Graham Stott Committed by Richard Sandiford

scanasm.exp (dg-function-on-line): Make MIPS targets match .set (no)?micromips

gcc/testsuite/
2013-05-21  Graham Stott  <graham.stott@btinternet.com>

	* lib/scanasm.exp (dg-function-on-line): Make MIPS targets match
	.set (no)?micromips

From-SVN: r199161
parent 86307f49
2013-05-21 Graham Stott <graham.stott@btinternet.com>
* lib/scanasm.exp (dg-function-on-line): Make MIPS targets match
.set (no)?micromips
2013-05-21 Tobias Burnus <burnus@net-b.de>
PR fortran/57035
......
......@@ -493,7 +493,7 @@ proc dg-function-on-line { args } {
set pattern [format {\t;[^:]+:%d\n(\t[^\t]+\n)+%s:\n\t.PROC} \
$line $symbol]
} elseif { [istarget mips*-*-*] } {
set pattern [format {\t\.loc [0-9]+ %d 0( [^\n]*)?\n(\t.cfi_startproc[^\t]*\n)*\t\.set\t(no)?mips16\n\t\.ent\t%s\n\t\.type\t%s, @function\n%s:\n} \
set pattern [format {\t\.loc [0-9]+ %d 0( [^\n]*)?\n(\t.cfi_startproc[^\t]*\n)*\t\.set\t(no)?mips16\n\t(\.set\t(no)?micromips\n\t)?\.ent\t%s\n\t\.type\t%s, @function\n%s:\n} \
$line $symbol $symbol $symbol]
} else {
set pattern [format {%s:[^\t]*(\t.(fnstart|frame|mask|file)[^\t]*)*\t[^:]+:%d\n} \
......
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