aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/encoding
AgeCommit message (Collapse)AuthorFilesLines
2022-03-16libgo: update to final Go 1.18 releaseIan Lance Taylor2-1/+37
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/393377
2022-02-11libgo: update to Go1.18beta2Ian Lance Taylor49-434/+638
gotools/ * Makefile.am (go_cmd_cgo_files): Add ast_go118.go (check-go-tool): Copy golang.org/x/tools directories. * Makefile.in: Regenerate. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/384695
2021-08-12libgo: update to Go1.17rc2Ian Lance Taylor21-451/+834
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/341629
2021-03-15libgo: update to Go 1.16.2 releaseIan Lance Taylor2-31/+92
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/301459
2021-01-29libgo: update to Go1.16rc1Ian Lance Taylor1-0/+9
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/287493
2020-12-30libgo: update to Go1.16beta1 releaseIan Lance Taylor20-83/+248
This does not yet include support for the //go:embed directive added in this release. * Makefile.am (check-runtime): Don't create check-runtime-dir. (mostlyclean-local): Don't remove check-runtime-dir. (check-go-tool, check-vet): Copy in go.mod and modules.txt. (check-cgo-test, check-carchive-test): Add go.mod file. * Makefile.in: Regenerate. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/280172
2020-08-07libgo: update to Go1.15rc2 releaseIan Lance Taylor2-8/+15
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/247517
2020-08-01libgo: update to go1.15rc1Ian Lance Taylor17-45/+352
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/245157
2020-07-17libgo: update to Go 1.14.6 releaseIan Lance Taylor2-42/+48
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/243317
2020-07-10libgo: update to Go 1.14.4 releaseIan Lance Taylor5-39/+105
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/241999
2020-01-21libgo: update to Go1.14beta1Ian Lance Taylor27-277/+946
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/214297
2020-01-09libgo: compile examples in _test packagesIan Lance Taylor7-14/+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-12libgo: update to Go1.13Ian Lance Taylor7-42/+67
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194698 From-SVN: r275691
2019-09-06libgo: update to Go 1.13beta1 releaseIan Lance Taylor25-267/+578
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/193497 From-SVN: r275473
2019-02-26libgo: update to Go1.12rc1Ian Lance Taylor1-0/+1
Reviewed-on: https://go-review.googlesource.com/c/162881 From-SVN: r269202
2019-01-18libgo: update to Go1.12beta2Ian Lance Taylor24-314/+660
Reviewed-on: https://go-review.googlesource.com/c/158019 gotools/: * Makefile.am (go_cmd_vet_files): Update for Go1.12beta2 release. (GOTOOLS_TEST_TIMEOUT): Increase to 600. (check-runtime): Export LD_LIBRARY_PATH before computing GOARCH and GOOS. (check-vet): Copy golang.org/x/tools into check-vet-dir. * Makefile.in: Regenerate. gcc/testsuite/: * go.go-torture/execute/names-1.go: Stop using debug/xcoff, which is no longer externally visible. From-SVN: r268084
2018-10-08libgo: update to Go 1.11.1 releaseIan Lance Taylor2-3/+20
Reviewed-on: https://go-review.googlesource.com/c/140277 From-SVN: r264932
2018-09-24libgo: update to Go 1.11Ian Lance Taylor32-555/+879
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
2018-05-31libgo: update to Go 1.10.2 releaseIan Lance Taylor2-15/+79
Reviewed-on: https://go-review.googlesource.com/115196 From-SVN: r261041
2018-01-17libgo: update to Go1.10beta2 releaseIan Lance Taylor3-10/+44
Reviewed-on: https://go-review.googlesource.com/87897 From-SVN: r256794
2018-01-09libgo: update to Go1.10beta1Ian Lance Taylor36-823/+1930
Update the Go library to the 1.10beta1 release. Requires a few changes to the compiler for modifications to the map runtime code, and to handle some nowritebarrier cases in the runtime. Reviewed-on: https://go-review.googlesource.com/86455 gotools/: * Makefile.am (go_cmd_vet_files): New variable. (go_cmd_buildid_files, go_cmd_test2json_files): New variables. (s-zdefaultcc): Change from constants to functions. (noinst_PROGRAMS): Add vet, buildid, and test2json. (cgo$(EXEEXT)): Link against $(LIBGOTOOL). (vet$(EXEEXT)): New target. (buildid$(EXEEXT)): New target. (test2json$(EXEEXT)): New target. (install-exec-local): Install all $(noinst_PROGRAMS). (uninstall-local): Uninstasll all $(noinst_PROGRAMS). (check-go-tool): Depend on $(noinst_PROGRAMS). Copy down objabi.go. (check-runtime): Depend on $(noinst_PROGRAMS). (check-cgo-test, check-carchive-test): Likewise. (check-vet): New target. (check): Depend on check-vet. Look at cmd_vet-testlog. (.PHONY): Add check-vet. * Makefile.in: Rebuild. From-SVN: r256365
2017-09-14libgo: update to go1.9Ian Lance Taylor40-598/+1565
Reviewed-on: https://go-review.googlesource.com/63753 From-SVN: r252767
2017-04-17libgo: update to Go 1.8.1 releaseIan Lance Taylor3-3/+41
Reviewed-on: https://go-review.googlesource.com/40775 From-SVN: r246957
2017-02-17libgo: update to final Go 1.8 releaseIan Lance Taylor2-16/+554
Along with the update this fixes a problem that was always present but only showed up with the new reflect test. When a program used a **unsafe.Pointer and stored the value in an interface type, the generated type descriptor pointed to the GC data for *unsafe.Pointer. It did that by name, but we were not generating a variable with the right name. Reviewed-on: https://go-review.googlesource.com/37144 From-SVN: r245535
2017-01-14libgo: update to Go 1.8 release candidate 1Ian Lance Taylor32-628/+2148
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
2016-11-18Update libgo/configure to restore it to the master version.Ian Lance Taylor1-0/+0
Update a few binary files that were changed in the master gc repo, copied into the gofrontend repo, but not correctly copied into the GCC repo. The changes are all minor and do not affect any actual tests. Two instances of "http" changed to "https", and two timestamps were zeroed out. From-SVN: r242582
2016-07-22libgo: update to go1.7rc3Ian Lance Taylor45-391/+1135
Reviewed-on: https://go-review.googlesource.com/25150 From-SVN: r238662
2016-02-03libgo: Update to go1.6rc1.Ian Lance Taylor34-324/+976
Reviewed-on: https://go-review.googlesource.com/19200 From-SVN: r233110
2015-11-07re PR go/66138 (json decoder Decode function fails for some structure return ↵Ian Lance Taylor4-4/+26
values) PR go/66138 reflect, encoding/json, encoding/xml: fix unexported embedded structs Bring in three changes from the master Go repository. These changes will be in Go 1.6, but they are appropriate for gccgo now because they resolve a long-standing discrepancy between how gc and gccgo handle the PkgPath field for embedded unexported struct fields. The core issue is described at https://golang.org/cl/7247. This has been reported against gccgo as https://gcc.gnu.org/PR66138. The three changes being brought over are: https://golang.org/cl/14010 reflect: adjust access to unexported embedded structs This CL changes reflect to allow access to exported fields and methods in unexported embedded structs for gccgo and after gc has been adjusted to disallow access to embedded unexported structs. Adresses #12367, #7363, #11007, and #7247. https://golang.org/cl/14011 encoding/json: check for exported fields in embedded structs Addresses issue #12367. https://golang.org/cl/14012 encoding/xml: check for exported fields in embedded structs Addresses issue #12367. Reviewed-on: https://go-review.googlesource.com/16723 From-SVN: r229907
2015-10-31runtime: Remove now unnecessary pad field from ParFor.Ian Lance Taylor34-319/+2105
It is not needed due to the removal of the ctx field. Reviewed-on: https://go-review.googlesource.com/16525 From-SVN: r229616
2015-01-15libgo, compiler: Upgrade libgo to Go 1.4, except for runtime.Ian Lance Taylor34-1080/+2863
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
2014-07-19libgo: Update to Go 1.3 release.Ian Lance Taylor24-40/+358
From-SVN: r212837
2014-06-06libgo: Merge to master revision 19184.Ian Lance Taylor15-42/+134
The next revision, 19185, renames several runtime files, and will be handled in a separate change. From-SVN: r211328
2014-06-04libgo: Merge from revision 18783:00cce3a34d7e of master library.Ian Lance Taylor14-42/+445
This revision was committed January 7, 2014. The next revision deleted runtime/mfinal.c. That will be done in a subsequent merge. This merge changes type descriptors to add a zero field, pointing to a zero value for that type. This is implemented as a common variable. * go-gcc.cc (Gcc_backend::implicit_variable): Add is_common and alignment parameters. Permit init parameter to be NULL. From-SVN: r211249
2013-11-27libgo: Update to current Go library.Ian Lance Taylor4-11/+33
From-SVN: r205426
2013-11-06libgo: Update to October 24 version of master library.Ian Lance Taylor35-664/+2684
From-SVN: r204466
2013-07-16libgo: Update to Go 1.1.1.Ian Lance Taylor27-216/+1129
From-SVN: r200974
2013-02-10compiler, libgo: Permit testing package when test imports it circularly.Ian Lance Taylor3-22/+5
From-SVN: r195931
2013-01-30libgo: Update Go library to master revision 15502/229081515358.Ian Lance Taylor5-21/+86
From-SVN: r195569
2013-01-29libgo: Update Go library to master revision 15489/921e53d4863c.Ian Lance Taylor17-94/+440
From-SVN: r195560
2012-12-22libgo: Update to revision 15193:6fdc1974457c of master library.Ian Lance Taylor4-25/+52
From-SVN: r194692
2012-12-12libgo: Update to current master library sources.Ian Lance Taylor5-4/+6
From-SVN: r194460
2012-11-21libgo: Update to current version of master library.Ian Lance Taylor14-206/+458
From-SVN: r193688
2012-10-23libgo: Update to current sources.Ian Lance Taylor27-278/+1134
From-SVN: r192704
2012-10-03libgo: Update to Go 1.0.3.Ian Lance Taylor6-7/+52
From-SVN: r192025
2012-06-25libgo: Update to Go 1.0.2 release.Ian Lance Taylor6-5/+131
From-SVN: r188943
2012-06-12compiler, reflect: Handle package path like gc compiler.Ian Lance Taylor1-1/+1
From-SVN: r188482
2012-05-14libgo: Use -fgo-pkgpath.Ian Lance Taylor1-1/+1
From-SVN: r187485
2012-05-04libgo: Update to Go 1.0.1 release.Ian Lance Taylor10-23/+58
From-SVN: r187163
2012-03-30libgo: Update to weekly.2012-03-22.Ian Lance Taylor2-2/+2
From-SVN: r186026