Go patch committed: Make sure variable type is determined

Ian Lance Taylor iant@google.com
Thu Mar 3 04:28:00 GMT 2011


This patch to the Go frontend makes sure that the type of a variable is
determined even when the variable is initialized from the value of a
variable which has not yet been declared.  Making this work required
fixing several uses of the untyped boolean type to correctly use the
named boolean type instead.  Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo1.patch
Type: text/x-diff
Size: 5217 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110303/8b2ff6d7/attachment.bin>


More information about the Gcc-patches mailing list