Go patch committed: Don't permit global variables named init
Ian Lance Taylor
iant@google.com
Wed Jun 26 15:48:00 GMT 2013
The Go language does not permit global variables named init. That name
is reserved for functions that run when the program starts. This patch,
from Rémy Oudompheng, implements that restriction in gccgo.
Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
Committed to mainline and 4.8 branch.
Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 497 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130626/6b44591e/attachment.bin>
More information about the Gcc-patches
mailing list