Go patch committed: Don't crash on Sizeof of undefined type

Ian Lance Taylor iant@google.com
Thu Dec 16 00:16:00 GMT 2010


This patch to the Go frontend avoids a crash when calling unsafe.Sizeof
on an undefined type.  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: 420 bytes
Desc: sizeof
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101216/4ffb8b61/attachment.bin>


More information about the Gcc-patches mailing list