aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/index
AgeCommit message (Collapse)AuthorFilesLines
2020-01-09libgo: compile examples in _test packagesIan Lance Taylor1-2/+0
Previously if the only names defined by _test packages were examples, the gotest script would emit an incorrect _testmain.go file. I worked around that by marking the example_test.go files +build ignored. This CL changes the gotest script to handle this case correctly, and removes the now-unnecessary build tags. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/214039 From-SVN: r280085
2019-09-06libgo: update to Go 1.13beta1 releaseIan Lance Taylor6-221/+3174
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/193497 From-SVN: r275473
2018-09-24libgo: update to Go 1.11Ian Lance Taylor1-1/+1
Reviewed-on: https://go-review.googlesource.com/136435 gotools/: * Makefile.am (mostlyclean-local): Run chmod on check-go-dir to make sure it is writable. (check-go-tools): Likewise. (check-vet): Copy internal/objabi to check-vet-dir. * Makefile.in: Rebuild. From-SVN: r264546
2017-01-14libgo: update to Go 1.8 release candidate 1Ian Lance Taylor1-0/+24
Compiler changes: * Change map assignment to use mapassign and assign value directly. * Change string iteration to use decoderune, faster for ASCII strings. * Change makeslice to take int, and use makeslice64 for larger values. * Add new noverflow field to hmap struct used for maps. Unresolved problems, to be fixed later: * Commented out test in go/types/sizes_test.go that doesn't compile. * Commented out reflect.TestStructOf test for padding after zero-sized field. Reviewed-on: https://go-review.googlesource.com/35231 gotools/: Updates for Go 1.8rc1. * Makefile.am (go_cmd_go_files): Add bug.go. (s-zdefaultcc): Write defaultPkgConfig. * Makefile.in: Rebuild. From-SVN: r244456
2015-01-15libgo, compiler: Upgrade libgo to Go 1.4, except for runtime.Ian Lance Taylor1-1/+1
This upgrades all of libgo other than the runtime package to the Go 1.4 release. In Go 1.4 much of the runtime was rewritten into Go. Merging that code will take more time and will not change the API, so I'm putting it off for now. There are a few runtime changes anyhow, to accomodate other packages that rely on minor modifications to the runtime support. The compiler changes slightly to add a one-bit flag to each type descriptor kind that is stored directly in an interface, which for gccgo is currently only pointer types. Another one-bit flag (gcprog) is reserved because it is used by the gc compiler, but gccgo does not currently use it. There is another error check in the compiler since I ran across it during testing. gotools/: * Makefile.am (go_cmd_go_files): Sort entries. Add generate.go. * Makefile.in: Rebuild. From-SVN: r219627
2012-03-30libgo: Update to weekly.2012-03-22.Ian Lance Taylor1-2/+2
From-SVN: r186026
2011-12-07libgo: Update to weekly 2011-11-09.Ian Lance Taylor1-1/+1
From-SVN: r182073
2011-12-03libgo: Update to weekly.2011-11-02.Ian Lance Taylor1-7/+6
From-SVN: r181964
2011-10-26Update Go library to last weekly.Ian Lance Taylor3-5/+208
From-SVN: r180552
2011-09-16Update Go library to r60.Ian Lance Taylor3-27/+6
From-SVN: r178910
2011-05-20Update to current version of Go library.Ian Lance Taylor1-2/+2
From-SVN: r173931
2011-03-16Update to current version of Go library (revision 94d654be2064).Ian Lance Taylor3-22/+40
From-SVN: r171076
2011-01-21Remove the types float and complex.Ian Lance Taylor3-87/+395
Update to current version of Go library. Update testsuite for removed types. * go-lang.c (go_langhook_init): Omit float_type_size when calling go_create_gogo. * go-c.h: Update declaration of go_create_gogo. From-SVN: r169098
2010-12-03Add Go frontend, libgo library, and Go testsuite.Ian Lance Taylor2-0/+272
gcc/: * 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/: * 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. From-SVN: r167407