This patch to the Go frontend adjusts the frontend code to avoid
shadowing local variables, to be clean with the proposed
-Wshadow=local option.  This also add a couple of missing calls to
free after mpz_get_str.  This is based on a patch by Bernd Edlinger.
Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu.  Committed
to mainline.

Unfortunately GMail has decided to reject the patch attachment.  It
can be seen at https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=276579
or https://golang.org/cl/198837.

Ian

Reply via email to