Committed Go frontend

Ian Lance Taylor iant@google.com
Fri Dec 3 04:40:00 GMT 2010


I have committed the Go frontend to mainline gcc.

I ran the following commands.  I won't show attach the many new files in
this message.

svn cp svn//gcc.gnu.org/svn/gcc/branches/gccgo/gcc/go gcc/
svn cp svn//gcc.gnu.org/svn/gcc/branches/gccgo/libgo ./
svn cp svn://gcc.gnu.org/svn/gcc/branches/gccgo/gcc/testsuite/go.dg gcc/testsuite/
svn cp svn://gcc.gnu.org/svn/gcc/branches/gccgo/gcc/testsuite/go.go-torture gcc/testsuite/
svn cp svn://gcc.gnu.org/svn/gcc/branches/gccgo/gcc/testsuite/go.test gcc/testsuite/

I also committed the appended patches.

Bootstrapped and tested on x86_64-unknown-linux-gnu.  Please let me know
about any problems.  The Go frontend is not built by default, so this
should not have a significant effect on most developers.

Please let me know about any problems.

I expect that I will use the gccgo branch going forward as a set of
tested sources for generating Go code.  In the next few days I will
complete the final items on the frontend checklist at
http://gcc.gnu.org/onlinedocs/gccint/Front-End.html , the ones after "If
the front end is added to the official GCC source repository."

Ian


gcc/:

2010-12-02  Ian Lance Taylor  <iant@google.com>

	* gcc.c (default_compilers): Add entry for ".go".
	* common.opt: Add -static-libgo as a driver option.
	* doc/install.texi (Configuration): Mention libgo as an option for
	--enable-shared.  Mention go as an option for --enable-languages.
	* doc/invoke.texi (Overall Options): Mention .go as a file name
	suffix.  Mention go as a -x option.
	* doc/frontends.texi (G++ and GCC): Mention Go as a supported
	language.
	* doc/sourcebuild.texi (Top Level): Mention libgo.
	* doc/standards.texi (Standards): Add section on Go language.
	Move references for other languages into their own section.
	* doc/contrib.texi (Contributors): Mention that I contributed the
	Go frontend.

gcc/testsuite/:

2010-12-02  Ian Lance Taylor  <iant@google.com>

	* lib/go.exp: New file.
	* lib/go-dg.exp: New file.
	* lib/go-torture.exp: New file.
	* lib/target-supports.exp (check_compile): Match // Go.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 6931 bytes
Desc: go
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101203/b3593896/attachment.bin>


More information about the Gcc-patches mailing list