Re: [testsuite] Make lto.exp work with Tcl 8.4

2018-02-05 Thread Mike Stump
On Feb 5, 2018, at 9:54 AM, Richard Sandiford wrote: > > "dict" was added in Tcl 8.5, but until a couple of weeks ago the > testsuite has worked with 8.4. > > This patch uses arrays instead, like we do for the caching in > target-supports.exp. It is a bit uglier than using dicts was, > but hop

[testsuite] Make lto.exp work with Tcl 8.4

2018-02-05 Thread Richard Sandiford
"dict" was added in Tcl 8.5, but until a couple of weeks ago the testsuite has worked with 8.4. This patch uses arrays instead, like we do for the caching in target-supports.exp. It is a bit uglier than using dicts was, but hopefully not too bad... Tested on aarch64-linux-gnu and x86_64-linux-gn