diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/lib/gcc-dg.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 724bd05c..6f84fa5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp index 2dedf3b..5764c0f 100644 --- a/gcc/testsuite/lib/gcc-dg.exp +++ b/gcc/testsuite/lib/gcc-dg.exp @@ -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" } |