Commit fb027ec8 by Richard Sandiford Committed by Richard Sandiford

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
parent 04974e1a
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> 2006-12-12 Ira Rosen <irar@il.ibm.com>
* gcc.dg/vect/vect-strided-store-u32-i2.c: New test. * gcc.dg/vect/vect-strided-store-u32-i2.c: New test.
...@@ -196,7 +196,7 @@ if { [info procs ${tool}_load] != [list] \ ...@@ -196,7 +196,7 @@ if { [info procs ${tool}_load] != [list] \
proc ${tool}_load { program args } { proc ${tool}_load { program args } {
global tool global tool
global shouldfail global shouldfail
set result [saved_${tool}_load $program $args] set result [eval [list saved_${tool}_load $program] $args]
if { $shouldfail != 0 } { if { $shouldfail != 0 } {
switch [lindex $result 0] { switch [lindex $result 0] {
"pass" { set status "fail" } "pass" { set status "fail" }
......
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