scanasm.exp (object-size): Fix target selector handling.
authorTom de Vries <tom@codesourcery.com>
Thu, 19 May 2011 09:13:16 +0000 (09:13 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 19 May 2011 09:13:16 +0000 (09:13 +0000)
2011-05-19  Tom de Vries  <tom@codesourcery.com>

* lib/lib/scanasm.exp (object-size): Fix target selector handling.

From-SVN: r173895

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

index bc34a98a7eea1428f2d7a9581bdd4c5a51fec06b..a9af18eeae366d6d1b490720f3567c05870b9fef 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-19  Tom de Vries  <tom@codesourcery.com>
+
+       * lib/lib/scanasm.exp (object-size): Fix target selector handling.
+
 2011-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * gcc.c-torture/execute/960321-1.x: Remove.
index fe66264d974d08850c1c4fbde5cd516386587a25..1388bd2c4824fbded4d8b515e2e06542d3762e8f 100644 (file)
@@ -330,7 +330,7 @@ proc object-size { args } {
        return
     }
     if { [llength $args] >= 4 } {
-       switch [dg-process-target [lindex $args 1]] {
+       switch [dg-process-target [lindex $args 3]] {
            "S" { }
            "N" { return }
            "F" { setup_xfail "*-*-*" }