Commit dc843250 by John David Anglin

re PR libffi/65567 (ERROR: tcl error sourcing…

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
parent 43b11666
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]
}
......
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