This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Go patch RFA: Fix taking the address of a field of a local variable
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Mon, 11 Jun 2012 10:56:10 +0200
- Subject: Re: Go patch RFA: Fix taking the address of a field of a local variable
- References: <mcripf3o87l.fsf@dhcp-172-18-216-180.mtv.corp.google.com>
On Thu, Jun 7, 2012 at 10:08 AM, Ian Lance Taylor <iant@google.com> wrote:
> This patch to the Go compiler fixes the case of taking the address of a
> field of a local variable. ?Previously taking the address of the field
> was not treated as taking the address of the variable. ?But, of course,
> it is. ?This patch fixes the problem. ?Bootstrapped and ran Go testsuite
> on x86_64-unknown-linux-gnu. ?Committed to mainline.
>
> OK for 4.7 branch? ?This is a real bug, bad runtime code generated for
> valid Go code.
Ok for 4.7.2, thus after 4.7.1 has been released.
Thanks,
Richard.
> Ian
>