Re: Go patch committed: Fix unsafe.Sizeof for named structs

2012-06-06 Thread Ian Lance Taylor
Jakub Jelinek writes: > 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

Re: Go patch committed: Fix unsafe.Sizeof for named structs

2012-06-06 Thread Jakub Jelinek
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 x8

Go patch committed: Fix unsafe.Sizeof for named structs

2012-06-06 Thread Ian Lance Taylor
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. Ian diff