Go patch committed: Fix handling of structs with embedded builtin types
Ian Lance Taylor
iant@google.com
Thu Sep 15 01:12:00 GMT 2011
The Go frontend was mishandling structs with embedded builtin types, as
in
struct {
int
}
This is because builtin type names are not packed with the package name,
whereas field names are. Rather than try to sort out that confusion, I
just added another hack around it. Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu. Committed to mainline.
Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 17613 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110915/628a6eab/attachment.bin>
More information about the Gcc-patches
mailing list