gcc-dg.exp (${tool}_load): Fix invocation of saved_${tool}_load.

gcc/testsuite/
	* lib/gcc-dg.exp (${tool}_load): Fix invocation of
	saved_${tool}_load.

From-SVN: r119795
This commit is contained in:
Richard Sandiford 2006-12-12 20:12:28 +00:00 committed by Richard Sandiford
parent 04974e1a97
commit fb027ec88c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-12-12 Richard Sandiford <richard@codesourcery.com>
* lib/gcc-dg.exp (${tool}_load): Fix invocation of
saved_${tool}_load.
2006-12-12 Ira Rosen <irar@il.ibm.com>
* gcc.dg/vect/vect-strided-store-u32-i2.c: New test.

View File

@ -196,7 +196,7 @@ if { [info procs ${tool}_load] != [list] \
proc ${tool}_load { program args } {
global tool
global shouldfail
set result [saved_${tool}_load $program $args]
set result [eval [list saved_${tool}_load $program] $args]
if { $shouldfail != 0 } {
switch [lindex $result 0] {
"pass" { set status "fail" }