Re: [PATCH, GO] Fix -Wshadow=local in go frontend

2019-10-03 Thread Ian Lance Taylor
On Thu, Oct 3, 2019 at 8:20 AM Bernd Edlinger wrote: > > this would normally be a trivial changes, but unless I am mistaken, > I cannot simply commit to the go subtree. Except the -Wshadow=local > warnings this fixes also a few minor memory leaks. > > > Bootstrapped and reg-tested on x86_64-pc-li

[PATCH, GO] Fix -Wshadow=local in go frontend

2019-10-03 Thread Bernd Edlinger
Hi, this would normally be a trivial changes, but unless I am mistaken, I cannot simply commit to the go subtree. Except the -Wshadow=local warnings this fixes also a few minor memory leaks. Bootstrapped and reg-tested on x86_64-pc-linux-gnu. Is it OK for trunk? Ian, can you please commit thi