re PR libffi/65567 (ERROR: tcl error sourcing /test/gnu/gcc/gcc/libffi/testsuite/libffi.complex/complex.exp)
PR libffi/65567 * testsuite/lib/libffi.exp (libffi_feature_test): Use split to ensure lindex is applied to a list. From-SVN: r221765
This commit is contained in:
parent
43b11666cc
commit
dc84325087
@ -1,3 +1,9 @@
|
||||
2015-03-29 John David Anglin <danglin@gcc.gnu.org>
|
||||
|
||||
PR libffi/65567
|
||||
* testsuite/lib/libffi.exp (libffi_feature_test): Use split to ensure
|
||||
lindex is applied to a list.
|
||||
|
||||
2015-02-10 Andrew Pinski <apinski@cavium.com>
|
||||
|
||||
* src/aarch64/ffitarget.h (ffi_arg): Use unsigned long long for ILP32.
|
||||
|
@ -238,7 +238,7 @@ proc libffi_feature_test { test } {
|
||||
set lines [libffi_target_compile $src "" "preprocess" ""]
|
||||
file delete $src
|
||||
|
||||
set last [lindex $lines end]
|
||||
set last [lindex [split $lines] end]
|
||||
return [regexp -- "xyzzy" $last]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user