https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65909

--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #9)
> Note that a formal proc argument named "args" is a special case in tcl as it
> collects all (remaining) arguments as a list.  Either the argument needs to
> be named differently (like "locale") or the proc needs to use [lindex $args
> 0] to access the first (and only) argument.

Ah, I didn't know args was special, thanks.

But why did [${tool}_load "./$exe" "$args" ""] do the right thing in the
original code?

Reply via email to