aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2011-05-19 09:13:16 +0000
committerTom de Vries <vries@gcc.gnu.org>2011-05-19 09:13:16 +0000
commite7b705a7350ca258fd9f0d1276500fec7fea16f3 (patch)
tree61232fed8163b76de355f61880f39cbe21d73b82
parentbb8d292d395e5ac5aaf96ff44f58822918b94859 (diff)
downloadgcc-e7b705a7350ca258fd9f0d1276500fec7fea16f3.zip
gcc-e7b705a7350ca258fd9f0d1276500fec7fea16f3.tar.gz
gcc-e7b705a7350ca258fd9f0d1276500fec7fea16f3.tar.bz2
scanasm.exp (object-size): Fix target selector handling.
2011-05-19 Tom de Vries <tom@codesourcery.com> * lib/lib/scanasm.exp (object-size): Fix target selector handling. From-SVN: r173895
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/lib/scanasm.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index bc34a98..a9af18e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp
index fe66264..1388bd2 100644
--- a/gcc/testsuite/lib/scanasm.exp
+++ b/gcc/testsuite/lib/scanasm.exp
@@ -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 "*-*-*" }