OSDN Git Service

* lib/scanasm.exp (dg-function-on-line): Handle mips-sgi-irix*.
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Jan 2011 11:45:49 +0000 (11:45 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Jan 2011 11:45:49 +0000 (11:45 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169157 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/lib/scanasm.exp

index dee1ef7..33d1cda 100644 (file)
@@ -1,5 +1,9 @@
 2011-01-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
+       * lib/scanasm.exp (dg-function-on-line): Handle mips-sgi-irix*.
+
+2011-01-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
        * gfortran.dg/cray_pointers_2.f90: Avoid cycling through
        optimization options.
 
index 66c5223..a490854 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2000, 2002, 2003, 2007, 2008, 2010
+# Copyright (C) 2000, 2002, 2003, 2007, 2008, 2010, 2011
 # Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -342,6 +342,9 @@ proc dg-function-on-line { args } {
     if { [istarget "hppa*-*-*"] } {
        set pattern [format {\t;[^:]+:%d\n(\t[^\t]+\n)+%s:\n\t.PROC} \
                      $line $symbol]
+    } elseif { [istarget "mips-sgi-irix*"] } {
+       set pattern [format {\t\.loc [0-9]+ %d 0( [^\n]*)?\n\t\.set\t(no)?mips16\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} \
                      $symbol $line]