Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hack-pad/go

The Go programming language
https://github.com/hack-pad/go

cmd/compile: teach prove about bitwise OR operation

Fixes #45928.

Change-Id: Ifbb0effbca4ab7c0eb56069fee40edb564553c35
Reviewed-on: https://go-revi...

3680b5e9c4f42fcf9155aa42b3b344d1fbe19571 authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: derive relation between x+delta and x in prove

If x+delta cannot overflow/underflow, we can derive:
x+delta < x if delta<0 (this CL included)...

d2e0587f77e1cbbd5c7966242c85edba83b37157 authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: avoid excessive libfuzzer instrumentation of int compares

Do not intercept integer compares that are used to increment libFuzzer's
8-bit counters. This is...

6b113c0fecd62b57ee88757c3ca80e9bdd11150d authored about 2 years ago by Khaled Yakdan <[email protected]>
cmd/compile/internal/noder: reuse package scope's names

Change-Id: I2cc62efb7bb3b47f1ee3ed0bb77e35c47e2df9a1
GitHub-Last-Rev: 106cb494de6fb08302018bff55...

2f103873c5081c7013cadfecb9b1c051d7c5520a authored about 2 years ago by shaoliming <[email protected]>
reflect: use cgo.Incomplete instead of go:notinheap in tests

go:notinheap will be replaced by runtime/internal/sys.NotInHeap, and for
longer term, we want to...

ee0e40aaef3dc5c6fb8612dd80622e02fc4b574f authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: regenerate node_gen.go

Looks like CL 413361 which added CaseClause.RTypes missed the need
to regenerate this file.

Als...

bd56cb90a72e6725eddb9622e93a0806c1d1f105 authored about 2 years ago by Keith Randall <[email protected]>
testing: increment tempDirSeq non-atomically

It's unnecessary to to call atomic.AddInt32 since there is a mutex lock.

Change-Id: I31fcece17c...

8a3d167f5b4b482a230cd9800df9969af60561af authored about 2 years ago by cuiweixie <[email protected]>
cmd/go/internal/imports: recognize "unix" build tag

For #20322
For #51572
Fixes #54712

Change-Id: I22fcfa820e83323bfdf1a40deee7286240f02b3e
GitHub-...

3c6a5cdb9a29c0e3b12cdaa8ab81ba22d989e3b0 authored about 2 years ago by Zeke Lu <[email protected]>
cmd/compile: only inline method wrapper if method don't contain closures

CL 327871 changes methodWrapper to always perform inlining after global
escape analysis. However...

f21514c7f8c972ce2291d41cf5b6263f0eb350c7 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: fix unified IR shapifying recursive instantiated types

Shape-based stenciling in unified IR is done by converting type argument
to its underlying type....

ddc93a536faf4576d182cd3197b116d61d05c484 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/go: go clean should not accept flags like -modcache with packages

For #53725

Change-Id: I99a85b437d5f918dba74c4eccefcf8087193646a
Reviewed-on: https://go-review....

c22865fcfa1ec434e5655c652c6376fa2d0eb821 authored about 2 years ago by cuiweixie <[email protected]>
cmd/asm: add new classification for index memory operands on PPC64

When a base+displacement kind of operand is given in an index-mode
instruction, the assembler do...

67d85ad00f9d9be0cc2bb1bb96d01c3d40dcb376 authored about 2 years ago by Archana R <[email protected]>
crypto/sha512: optimize ARM64 sha512 implemention

This CL enable sha512 for arm64 and ~390% performance
improvement.

Contributed under the Go Lic...

4381c61c58315dbdb8004bf56e54a5d2aa5d0498 authored about 2 years ago by Meng Zhuo <[email protected]>
cmd/compile: intrinsify RotateLeft{32,64} on loong64

Benchmark on crypto/sha256 (provided by Xiaodong Liu):
name old time/op new tim...

e8f0340fa483c6deb0bf7bba9788a2dd0f2f8a59 authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/internal/obj/loong64: add ROTR, ROTRV instructions support

Reference: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html

Change-Id:...

7d574466a9bd001feea4717933adb6ab78acd05f authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: fix wrong position when rewriting to OpArg/OpArgXXX

When spilling arg to stack or register, if it's a newly created value,
the arg position should b...

629ae1cee673c66dd540b424c9e86a4ce3aaf9e3 authored about 2 years ago by Cuong Manh Le <[email protected]>
reflect: clarify Value.Equal behavior for non-comparable values

The current implementation always returns false for non-comparable
values, update the doc to ref...

47f8db368cbb1971f386717ae7c76a1891a6130c authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/go: skip gccgo cgo tests in TestScript/build_overlay

cgo builds with -compiler=gccgo are broken as of CL 421879.

For #54761.
Updates #46731.

Change...

65535581aaf5441b68d8d31d3f338df4042f1972 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/modfetch: distinguish "unsupported" errors from RecentTag

CL 426079 started checking errors from RecentTag.
Unfortunately, we forgot to run "-longtest" Sl...

7b689dcbefbe5442b8b59a56efc1eced4fce233c authored about 2 years ago by Bryan C. Mills <[email protected]>
context: convert goroutines to atomic type

Change-Id: I021fbc9786a3e3f858770fe3e109a0de487390d8
Reviewed-on: https://go-review.googlesource...

2113fefe7d4ac5634a5b0597ef1b465684c73076 authored about 2 years ago by cuiweixie <[email protected]>
testing: convert common.hasSub to atomic type

Change-Id: I3d8a9b901efabe62f432c06361826f46c78d2605
Reviewed-on: https://go-review.googlesource...

fd2ac5ef968545e8283e32160fe69a9de1e98842 authored about 2 years ago by cuiweixie <[email protected]>
sync: switch Map to use atomic.Pointer

There was no noticeable change in performance.

Change-Id: I9c57bf836c8b6066e0620afb3d536ce99e4b...

b0144b384318e17b7b4facdbbd2fff3712085eab authored about 2 years ago by Joe Tsai <[email protected]>
debug/macho: use saferio to allocate Load and Symbol slices

Avoid allocating large amounts of memory for corrupt input.

No test case because the problem ca...

36d1f236610a436bcbceca11e040a65593f1f253 authored about 2 years ago by Dan Kortschak <[email protected]>
testing: explain using a _test package

The existing documentation did not explain the difference between
placing a _test.go file in the...

f3a1f9220a8a5265842f5cb877c4dc6d08f75c68 authored about 2 years ago by byarbrough <[email protected]>
internal/poll: use sync.Once instead to guard CopyFileRange() with kernel 5.3

The existing implementation creates more branches with more states: -1, 0, 1,
which makes it not...

c108a682ff4571d1fd45e9c05cfad7b9a6c86a3d authored about 2 years ago by Andy Pan <[email protected]>
time: use internal/itoa

In initLocal for GOOS=js, use internal/itoa introduced in CL 301549
instead of a local implement...

9da49a7d2e47919ecbf54e75bfc15ffb022cf1d6 authored about 2 years ago by Tobias Klauser <[email protected]>
debug/elf: validate offset and file size ranges

Change-Id: Iebe31b91c6e81438120f50a8089a8efca3d5339d
Reviewed-on: https://go-review.googlesource...

dbd0ce84d7c1da2e788c516c72fef44d5b760337 authored about 2 years ago by Dan Kortschak <[email protected]>
net: add the missing OS Darwin in the comment of sendFile

Change-Id: Ice7e3762d4a1d71e23d619be699697f5c6523cc5
Reviewed-on: https://go-review.googlesource...

59bdbb3effe3e61f85e336a52323024bafaf44bd authored about 2 years ago by Andy Pan <[email protected]>
cmd/go/internal/modfetch: report error on failing to derive pseudo version from recent tag

The current implementation ignores the error when it tries to get
the recent tag on revisions, w...

5cfeaed4dec52c8edb3f33bb9cf8ec98d846c50b authored about 2 years ago by Zeke Lu <[email protected]>
time: add fuzz test for Time.appendFormatRFC3339

Time.appendFormatRFC3339 is a specialized implementation of
Time.appendFormat. We expect the two...

4029124cf4e79ed6f1c6d4cc0a19331eeddd58a6 authored about 2 years ago by Joe Tsai <[email protected]>
internal/trace: fix typo in goroutines.go

assosciated -> associated

Change-Id: Id1cbbdea12f0239a9e173ece934c18cc9ffcf0f4
GitHub-Last-Rev:...

68b10c2bb8ab95397c70b32ce7c3373eaa6ae9ce authored about 2 years ago by Ikko Ashimine <[email protected]>
net/http: FileServer method check + minimal OPTIONS implementation

FileServer provides a read-only service. Methods other than GET or HEAD should
be denied with an...

0e16d67a560f22ac1fcbc1fa12d25add8bf649d6 authored about 2 years ago by Pascal S. de Kloe <[email protected]>
cmd/compile/obj/arm64: fix encoding error of FMOVD/FMOVS $0|ZR

Previously the first operand of FMOVD and FMOVS could be $0, which
would be converted to the ZR ...

eeb1ba7a89975beb1993242d8f2db05a6237e01c authored about 2 years ago by eric fang <[email protected]>
reflect: simplify array value comparable check

If array element is not interface, array or struct, we just need to
check whether the array elem...

739304978086143a5d8c3b9bfa4f9f25aef23e90 authored about 2 years ago by Cuong Manh Le <[email protected]>
image/png: allow both PLTE and tRNS chunks for TrueColor

Prior to this commit, png.Decode would allow TrueColor PNG images that
have one but not both of ...

63e129ba1c458db23f0752d106ed088a2cf38360 authored about 2 years ago by Nigel Tao <[email protected]>
testing: convert numFailed to atomic type

Change-Id: Ic3464e95ad8901df5477d7717760b8c6d08ce97b
Reviewed-on: https://go-review.googlesource...

a1c9783ca1a98eef0fbfa46f8027e711b471b600 authored about 2 years ago by cuiweixie <[email protected]>
cmd/go/internal/modload: return error when duplicate module paths among modules in go.work

Fixes #54048

Change-Id: I27350af451ff50532856092f2d99b6cc6dc6743d
Reviewed-on: https://go-revie...

863d57cc7df5b1604d501892b7293efe0fa7e690 authored about 2 years ago by ianwoolf <[email protected]>
debug/pe: check size in uint64 to avoid overflow

uint32(sz) != n*uint32(ddSz) can go wrong if
the RHS overflows, so do it in wider precision.

Fi...

7f92ccea5ca5832a1dc63c02fc71db2d698f7915 authored about 2 years ago by David Chase <[email protected]>
cmd/cgo: add and use runtime/cgo.Incomplete instead of //go:notinheap

Updates #46731

Change-Id: Ia83f27c177cc2f57e240cb5c6708d4552423f5be
Reviewed-on: https://go-rev...

846c378b8c0cebd2d8522a5693b45ca95b018a78 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: intrinsify Sub64 on riscv64

After this CL, the performance difference in crypto/elliptic
benchmarks on linux/riscv64 are:

n...

a6219737e3eb062282e6483a915c395affb30c69 authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: intrinsify Add64 on riscv64

According to RISCV instruction set manual v2.2 Sec 2.4, we can
implement overflowing check for u...

969f48a3a24032c3dd1ec351302b5b62407dfb88 authored about 2 years ago by Wayne Zuo <[email protected]>
net: add FlagRunning to exactly reflect the states of an interface.

Correctly set this flag while parsing the syscall result.

The FlagUp flag can not distinguish t...

a2d2e6e7cb12c57cd8f5af64909882bab1dbca19 authored about 2 years ago by Jianwei Mao <[email protected]>
debug/elf: fix reloc number of R_PPC64_SECTOFF_LO_DS

R_PPC64_SECTOFF_LO_DS is defined as reloc 62 on all PPC64 ELF ABIs.

Fixes #53356

Change-Id: I5...

a0948493ac693b46b4124a4380fd044c6a05f1b3 authored about 2 years ago by Paul E. Murphy <[email protected]>
net: Resolver.LookupIP return error for empty string

Fixes #53995

Change-Id: Ib0de237b57382feb6b8070f2310945aef6c7db01
Reviewed-on: https://go-revie...

333681d6a8cc6f352d42d04bcf26b39a1ea7ef83 authored about 2 years ago by ianwoolf <[email protected]>
reflect: add Value.{Comparable,Equal}

For #46746

Change-Id: I879124974cdb55932cd9d07d3b384d49d5059857
Reviewed-on: https://go-review....

acabf87127fab93513df46811d5f473ef72905b1 authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile: fix score for Select{0,1} with type flags

A recent change was made for ppc64x to treat ANDCCconst as
a tuple, allowing ANDconst to be remo...

897ad2fe907b98eae4cf60d78b7a262a221931fc authored about 2 years ago by Lynn Boger <[email protected]>
net/http: don't panic on very large MaxBytesReaderLimit

Fixes #54408

Change-Id: I454199ae5bcd087b8fc4169b7622412105e71113
GitHub-Last-Rev: a33fe7e206d0...

3d6ba27f4ffef372d9a41bc488ca329c2786187f authored about 2 years ago by cuiweixie <[email protected]>
runtime: add address sanitizer support for ppc64le

updates #44853

Change-Id: I71905ee1bcb99ce7300bbed2daad3617d2643c53
Reviewed-on: https://go-rev...

9e810997c02c9c062a25e922a91e7824baef8e4d authored about 2 years ago by Archana R <[email protected]>
cmd/compile: remove branch in atomicCas{32,64} sequence on ppc64x.

This removes one of the branches in the atomicCas sequences for
ppc64/ppc64le.

Change-Id: Ibb46...

62125c9b790c9dc62ab6b638286150a16024d40e authored about 2 years ago by Lynn Boger <[email protected]>
net/http: mention io.Seeker requirement in FS documentation

Both FileServer and NewFileTransport can try to seek a file, specifically
when MIME type sniffin...

afd792feb567f0848ddc05f6a90a7b7672fe4974 authored about 2 years ago by Alex Studer <[email protected]>
net/http: add errors.As support for x/net/http2.StreamError

To make it easier to extract the HTTP/2 error code (if any) from
net/http errors, implement an A...

4d13aabdf62a15d19a6f41a781aa7e85f02f3f26 authored about 2 years ago by Akshay Shah <[email protected]>
runtime: drop padding alignment field for timeHistogram

After CL 419449, timeHistogram always have 8-byte alignment.

Change-Id: I93145502bcafa1712b811b...

bcd1ac7120e04cc60491005771aee5f27abac220 authored about 2 years ago by Cuong Manh Le <[email protected]>
mime: allow duplicate media type parameters with equivalent values

Fixes #48866

Change-Id: I2bd2c806e44eb4064b1fb9a6509d79cecbbef013
Reviewed-on: https://go-revie...

dba9323f764e1ded627a0e3a459377026e9e0ce3 authored about 2 years ago by Paschalis Tsilias <[email protected]>
runtime: mark all methods of atomic types with go:nosplit

Atomic types may be used anywhere in the runtime,
so they must omit its usual stack overflow che...

296c40dbbe91db993e4c756f3b2b383d6995edbc authored about 2 years ago by Andy Pan <[email protected]>
internal/poll: optimize the maximum amount of bytes that can be transferred by one splice(2) call

Fixes #40222

name old time/op new time/op delta
Splice/tcp-to-tc...

c8bb3cff9ee24f310f4d5dd7b39422c346411a53 authored about 2 years ago by Andy Pan <[email protected]>
runtime: remove gcCPULimiterState padding for atomic fields alignment

assistTimePool and lastUpdate are now atomic.Int64, so they are
guaranteed to have 64-bit alignm...

a52f4952cbc03538cacea78a663ac5bf61af165e authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/go/internal/modload: convert atomicLoadPkgFlags.bits to atomic type

Change-Id: I9e59530953439dec6f4524c5a7adc75c98c12b8f
Reviewed-on: https://go-review.googlesource...

78aef56062e00cb45e69ee040fe35de6e08938d3 authored about 2 years ago by hopehook <[email protected]>
cmd/go/internal/trace: convert traceStarted to atomic type

Change-Id: Ia4214a29775f1178273b9b7dc84c0420bfa968de
Reviewed-on: https://go-review.googlesource...

48ecc152e47db19255a3501d272b7ea3ed28915a authored about 2 years ago by hopehook <[email protected]>
debug/macho: use saferio to read segment and section data

Avoid allocating large amounts of memory for corrupt input.

No test case because the problem ca...

297e3de7a1416d2ccdadcf3bdc6c9d3776e2abd8 authored about 2 years ago by Dan Kortschak <[email protected]>
cmd/go/internal/imports: include ToolTags in the Tags map

This fixes a regression introduced when the "race" mode tag was moved to
the ToolTags field in C...

6ba2674ddc5373f261211ba5ebc38496dc660604 authored about 2 years ago by Zeke Lu <[email protected]>
cmd/go/internal/par: change cacheEntry.done type to atomic.Bool

Change-Id: I95c941f83f74d57dfdd2d6803c9059691fb649b8
Reviewed-on: https://go-review.googlesource...

f50e47308d60d2a043aa3f806069d49e1b7ad0c1 authored about 2 years ago by Ludi Rehak <[email protected]>
cmd/test2json: add signal handler

Updates #53563

Change-Id: I35a3fd56718e198f68cbf73075a78b2fbc66bd7d
Reviewed-on: https://go-rev...

f1f9e45143bd01a55ff81313fb3dfde72c448cc9 authored about 2 years ago by ianwoolf <[email protected]>
reflect: add Value.SetZero

The v.SetZero method is a faster equivalent of v.Set(Zero(v.Type())).

Performance:

...

bc1d0d8eb1fb5efb36fc2324fa7eb818b084b016 authored about 2 years ago by Joe Tsai <[email protected]>
runtime: convert forcegcstate.idle to internal atomic type

Note that this changes a few unsynchronized operations of forcegcstate.idle to synchronized oper...

e0ec1d6770879518af726b6cd8693dab3390db24 authored about 2 years ago by Andy Pan <[email protected]>
runtime: convert g.selectDone to atomic type

On the write side, g.selectDone has been converted
from non-atomic to atomic access.

For #53821...

951d2c657da75d5aad09719e89987e1e1a43bbb4 authored about 2 years ago by hopehook <[email protected]>
runtime: convert notifyList.wait to atomic type

For #53821

Change-Id: Ib096332fe6111bbcd2f5c4cbb29c2fef7a808e7e
Reviewed-on: https://go-review....

7a1ae605ebc0a30c1ec83f967d9a0a20a0bbb02b authored about 2 years ago by hopehook <[email protected]>
runtime: convert dlogger.owned to atomic type

Note that this changes a non-atomic operation to atomic operation.

For #53821

Change-Id: I7989...

2af9ee072788e91332ab7c2baa0fb568fd1e8545 authored about 2 years ago by hopehook <[email protected]>
runtime: convert p.statsSeq to internal atomic type

For #53821.

Change-Id: I1cab3671a29c218b8a927aba9064e63b65900173
Reviewed-on: https://go-review...

2883af63c28d1a4398cd60745d3c0cb7f7fbdacf authored about 2 years ago by hopehook <[email protected]>
cmd/compile: align stack offset to alignment larger than PtrSize

In typebits.Set we check that the offset is a multiple of the
alignment, which makes perfect sen...

1211a62bdcb0f070c5082255bcc90e1a14c16bb2 authored about 2 years ago by Cherry Mui <[email protected]>
reflect: FuncOf support more than 50 arguments

Fixes #54669

Change-Id: I34cbe729d187437ddeafbaa910af6ed001b2603f
Reviewed-on: https://go-revie...

d7a3fa120db1f8ab9e02ea8fccd0cc8699bf9382 authored about 2 years ago by cuiweixie <[email protected]>
go/types: provide a better error message for [...] array types

This matches types2 behavior.

For #54511.

Change-Id: Iea906e9fec7e334b7aa7f481de87373fa93d1c7c...

2eba2ff8a1572d7fcba65a5f9d54f73e307a0054 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types: avoid declared but not used error for a couple of cases

The change in typexpr.go matches types2 behavior.

For #54511.

Change-Id: I79c922a94f2ee0440c18...

27006657fad10d195dd0f5d5719e49a4e5811f4a authored about 2 years ago by Robert Griesemer <[email protected]>
runtime: convert netpollWaiters to internal atomic type

Updates #53821

Change-Id: I8776382b3eb0b7752cfc0d9287b707039d3f05c6
Reviewed-on: https://go-rev...

aab8d2b448c4855a4e4a9c2d477671a75828f78b authored about 2 years ago by Andy Pan <[email protected]>
go/types: remove support for "ERROR HERE" error markers in tests

There are only two tests that rely on the "ERROR HERE" markers;
yet those tests are trivialy adj...

73a55c17049a2c12e5368790e178c32363743dd8 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/trace: display goroutines (PC=0) with clearer description

This PR fixes: #54425 #49994

Change-Id: Id60a3ba6930f8e29b12b6d8f80945decd2ce31bc
GitHub-Last-R...

04eb35998a3a999c830969f802744ab9274714a8 authored about 2 years ago by hitzhangjie <[email protected]>
runtime: update gctrace docs and print lastStackScan instead of max

This change updates the gctrace docs to include stacks and globals in
the format line, and print...

56bdf7f7d91cc5fa40e9e6ec0e3da3733f0e2e4e authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
crypto/x509: don't panic marshaling invalid ECDSA keys

MarshalPKIXPublicKey, CreateCertificate, CreateCertificateRequest,
MarshalECPrivateKey, and Mars...

f64f12f0b32eba7d49c259480e0fa0c79eb47600 authored about 2 years ago by Filippo Valsorda <[email protected]>
go/parser: match go/defer error message of syntax package

Adjust corresponding type checker tests accordingly.

For #54511.

Change-Id: Ieaf29f26c0877973f...

b9bf82465569397191a62c4e4fb9a7d1013a2e64 authored about 2 years ago by Robert Griesemer <[email protected]>
path/filepath, io/fs: add SkipAll

Fixes #47209

Change-Id: If75b0dd38f2c30a23517205d80c7a6683a5c921c
Reviewed-on: https://go-revie...

95a786da1265d84290c1a0d1186352f71475ff9f authored about 2 years ago by Paschalis Tsilias <[email protected]>
cmd/compile/internal/noder: fix inlined function literal positions

When inlining function calls, we rewrite the position information on
all of the nodes to keep tr...

6a801d3082c6ab28372c115d13ef0c238e3535ae authored about 2 years ago by Matthew Dempsky <[email protected]>
testing: add Elapsed method to testing.B

Elapsed returns the measured elapsed time of the benchmark,
but does not change the running stat...

396b153ec454cd427f97be4d994a903e2c4b244f authored about 2 years ago by hopehook <[email protected]>
go/types: match types2 string when printing composite literals

Given a composite literal type S, rather than always printing
(S literal) for a composite litera...

83b5fe63514411f425061967fd8c1d506f2ac40f authored about 2 years ago by Robert Griesemer <[email protected]>
crypto/tls: support ECDHE when ec_point_formats is missing

Fixes #49126

Change-Id: I9d6f6392b1a6748bdac1d2c6371b22d75829a2b6
Reviewed-on: https://go-revie...

1df2a03b17b4496bddfb482ec45b2a29c20e5249 authored about 2 years ago by Filippo Valsorda <[email protected]>
runtime: mark morestack_noctxt SPWRITE on LR architectures

On LR architectures, morestack (and morestack_noctxt) are called
with a special calling conventi...

e4be2ac79f3cc7219ae1cf8334463d11cae24e01 authored about 2 years ago by Cherry Mui <[email protected]>
misc/cgo/testsanitizers: determine compiler version for tsan tests on ppc64le

Some tests in misc/cgo/testsanitizers had been disabled on ppc64le
until recently, due to an int...

d4ff25ac69c90bb0e6a92aff7650d0bf3d41d29e authored about 2 years ago by Lynn Boger <[email protected]>
go/types, types2: add more tests for unsafe.Slice/SliceData/String/StringData

Also:
- fine-tune the implementation for some of the new builtin functions
- make sure the go/ty...

8c8429fe4113b399355c11203e60e6b37bc823ba authored about 2 years ago by Robert Griesemer <[email protected]>
go/types,types2: add support for unsafe.{String,StringData,SliceData}

For #53003
Change-Id: Id3125268523fed855ffac20cde6128010e3513f0
Reviewed-on: https://go-review.g...

ba5deb408f50f31a872f114c5ef7b52090e4b753 authored about 2 years ago by cuiweixie <[email protected]>
go/internal/gcimporter: call Complete on cloned Interfaces too

For "type T interface{ M() }", go/types users expect T's underlying
interface type to specify T ...

e4bed415ead32ece0acb396f025d3338fab5029d authored about 2 years ago by Matthew Dempsky <[email protected]>
go/internal/gcimporter: call Interface.Complete in unified importer

To support concurrent use of the go/types API, importers need to call
Interface.Complete on cons...

bdf2db7255565db3d7ca1ffb721203e6d9460ccc authored about 2 years ago by Matthew Dempsky <[email protected]>
doc/go1.20: populate initial TODOs via relnote

Add content generated by 'relnote -html'. This covers all of known
TODOs available by 2022-08-24...

8188bf69f0815f7fdbf6db4b08eb54daec0d006a authored about 2 years ago by Dmitri Shuralyov <[email protected]>
cmd/compile: deadcode for LoweredMuluhilo on riscv64

This is a follow up of CL 425101 on RISCV64.

According to RISCV Volume 1, Unprivileged Spec v. ...

b60432df143475b575a9da1f2a179ac35c399ed0 authored about 2 years ago by Wayne Zuo <[email protected]>
doc: start draft Go 1.20 release notes

This initial release notes template is based on previous releases.
CL 425354 adds initial conten...

cfae70ccb141ffc3c087bc0b5f927acbdb934c6f authored about 2 years ago by Dmitri Shuralyov <[email protected]>
net/http: remove unused doneChan

The https://golang.org/cl/43230 removed use of `getDoneChan`.

Change-Id: I33390c0e3aea6d9836736...

8a86b94aefd33bd720a337a645da8b23047b1381 authored about 2 years ago by Alexander Yastrebov <[email protected]>
cmd/go: skip link_syso tests in short mode

These tests invoke the system C compiler and linker.
Skipping them saves a little over half a se...

2fc21b50e4c19d60ad7c91bcfe6488e0f13abde3 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/work: make NewBuilder safe for concurrent and repeated use

Ever since 'go build' was added (in CL 5483069), it has used an atexit
handler to clean up worki...

55d96f98ef139daa8d5f362668271751cf59f8e1 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: avoid overwriting cached Origin metadata

Fixes #54631.

Change-Id: I17d2fa282642aeb1ae2a6e29a0756b8960bea34b
Reviewed-on: https://go-revi...

308352936712476f450aaeac13166f2de019de65 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: avoid registering AtExit handlers in tests

Ever since 'go build' was added (in CL 5483069), it has used an atexit
handler to clean up worki...

d5aa088d822bc8ef3ceb80c20184f40fcb9b8d2e authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: defer transitive inlining until after AST is edited

This CL changes the inliner to process transitive inlining iteratively
after the AST has actuall...

f983a9340d5660a9655b63a371966b5df69be8c5 authored about 2 years ago by Matthew Dempsky <[email protected]>
image/png: have DecodeConfig read tRNS chunks

Fixes #54325

Change-Id: Ie468180c4d6f21db7672dd71bd2a40f3a5881b7d
Reviewed-on: https://go-revie...

b5a9459cd08ec2a74ee4fdabfa4bc1eba0e87e49 authored about 2 years ago by Nigel Tao <[email protected]>
reflect: optimize Value.IsZero

If a struct or array is comparable, then we can leverage rtype.equal,
which is almost always fas...

1ab6b790be3de2364edc3c15741afe3705f7c358 authored about 2 years ago by Joe Tsai <[email protected]>