Go patch committed: Fix unsafe.Sizeof for named structs
Ian Lance Taylor
iant@google.com
Thu Jun 7 06:35:00 GMT 2012
Jakub Jelinek <jakub@redhat.com> 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 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.
Sorry, didn't realize. Hope this one is OK. It fixes a serious bug and
should not affect bootstrap.
Ian
More information about the Gcc-patches
mailing list