This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Go patch committed: Fix unsafe.Sizeof for named structs
- From: Jakub Jelinek <jakub at redhat 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: Thu, 7 Jun 2012 08:22:41 +0200
- Subject: Re: Go patch committed: Fix unsafe.Sizeof for named structs
- References: <mcrzk8foem3.fsf@dhcp-172-18-216-180.mtv.corp.google.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Jun 06, 2012 at 10:49:56PM -0700, Ian Lance Taylor wrote:
> This patch to the Go frontend fixes an embarrassing and serious bug in
> which unsafe.Sizeof returns the wrong value for a named struct that
> has fields that are themselves named structs. Bootstrapped and ran Go
> testsuite on x86_64-unknown-linux-gnu. Committed to mainline and 4.7
> branch.
Note that the 4.7 branch is frozen now and all changes need RM acks.
Jakub