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

runtime: fix a few function names on comments

Change-Id: I4be0b1e612dcc21ca6bb7d4395f1c0aa52480759
GitHub-Last-Rev: 032480c4c9ddb2bedea26b01bb...

069d1fc9e2085d93ea256b6c49b5d7c3026f79a3 authored almost 2 years ago by cui fliter <[email protected]>
all: delete riscv64 non-register ABI fallback path

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

5d59fa143ae1d0d8fdcc677297ce58bbfc592111 authored almost 2 years ago by Wayne Zuo <[email protected]>
all: update golang.org/x/tools to 8166dca1cec9

To pick up CL 443575.

Note: This CL also update other x repositories because CL 444536 updates
...

3dc13023c1d20ec48e2d0c69908b0a1cc3681462 authored almost 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: add support for alternative comparable semantics

Add the experimental compiler flag -altcomparable. If set, the
compiler uses alternative compara...

b95ea201d54953055e7d5d29cf68bb5f19f21f93 authored almost 2 years ago by Robert Griesemer <[email protected]>
cmd/go: show an error when a package in a module conflicts with one in std

Fixes #35270

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

2dcc9acbd27902c9e551f54ca29d2519418b45c4 authored almost 2 years ago by cuiweixie <[email protected]>
debug/elf: use saferio.SliceCap when decoding ELF sections

This avoids allocating an overly large slice for corrupt input.

No test case because the proble...

2bdb5c57f1efcbddab536028d053798e35de6226 authored almost 2 years ago by Zeke Lu <[email protected]>
math/rand: auto-seed global source

Implement proposal #54880, to automatically seed the global source.

The justification for this ...

90a67d052e6dc3f9d522820ca60cc9862a8016ba authored almost 2 years ago by Russ Cox <[email protected]>
cmd/go: make vcstest repo scripts compatible with old Mercurial versions

The scripts added in CL 421455 passed on the TryBots, but failed on
the "-stretch" builders, whi...

4c9006e45f7c2ab51328868bf2894c3eba7ac3e6 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: split quotes in GOFLAGS same as in other env vars

GOFLAGS didn't split on quotes because no other env vars
(such as CC, CXX, ...) did either. This...

ddaa25b5dd5ec8d66712c12c2a1ef4f12c1b583b authored almost 2 years ago by Russ Cox <[email protected]>
cmd/go: make vcstest repo scripts compatible with old Git versions

The scripts added in CL 421455 passed on the TryBots, but failed on a
subset of the builders tha...

2d63305b8446c69d79730ff556385cabe09f54ec authored almost 2 years ago by Bryan C. Mills <[email protected]>
runtime/internal/syscall: convert PPC64 Syscall6 to ABIInternal

This avoids a lot of stacking.

Change-Id: If5c5cf33335ffdcb7eecbd3f2db7858a415d817d
Reviewed-on...

f9bd1d0f113db5a92e59592f0108dad45a9308ad authored almost 2 years ago by Paul E. Murphy <[email protected]>
cmd/go: add Subversion support to the local vcstest server

With this change applied, 'go test cmd/go/...' passes
even with the IP routing for vcs-test.gola...

8749d12bb76db77cdf37d47d666a5962b8a5928b authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: reroute vcs-test.golang.org HTTPS requests to the test-local server

After this CL, the only test requests that should still reach
vcs-test.golang.org are for Subver...

71048daa2f4e0c23b651d56fa157e1a75e098a82 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: redirect vcs-test.golang.org repo URLs to a test-local server

The new server reconstructs the vcs-test repos on the fly using
scripts that run the actual vers...

d5155f61928a55e570beaa214465bc48ddd2c16c authored almost 2 years ago by Bryan C. Mills <[email protected]>
os/exec: add the Cancel and WaitDelay fields

Fixes #50436.

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

55eaae452cf69df768b2aaf6045db22d6c1a4029 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: fix script conditions that require cgo

This fixes a regression introduced in CL 419875
that causes features that require cgo to be test...

9fffcde118ee3d2522744661b1af1eafb1008667 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: replace the 'addcrlf' script command with a more general 'replace' command

This allows the "reuse_git" test to avoid depending on exact JSON
blobs, which will be important...

3617514de07278637b7ead51447d23c8799b1d60 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/script: define GOOS, GOARCH, and compiler conditions using suffixes

This replaces a large set of individual GOOS and GOARCH conditions
with a smaller set of more ve...

3f84a3f324ba1f1e5baa919ed66585ed836eba30 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: replace the '[exec:git]' condition with a '[git]' condition

This makes it more obvious that the condition is testing for something
beyond just the existence...

4319231686c28d8542219991f0c9026139142b9c authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/script: remove special-case escaping logic for $WORK

Previously, the script engine implicitly escaped the path in the
$WORK environment variable to b...

a971904e10c85e4aeb2cb6a3cf6d8efadc259fdc authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: extract the TestScript engine into a standalone package

This change decouples the script engine from both cmd/go and the
testing package; I intend to re...

151668c694a15029db236976f06f18482859db61 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: fix PPC64 latelower enablement

The commit f841722853 needed an update for c0f27eb3d5. This
fixes the aforementioned commit.

Al...

bd6cd7db07f314443acdb980393f57386d40551f authored almost 2 years ago by Paul E. Murphy <[email protected]>
time: optimize appendInt and appendNanos

The appendInt function previously performed a double pass
over the formatted integer. We can avo...

7f04b8416297a3810cd2eddbcce84ac569e9b96d authored almost 2 years ago by Joe Tsai <[email protected]>
cmd/compile: enable lateLower pass on PPC64

This allows new rules to be added which would otherwise
greatly overcomplicate the generic rules...

f841722853db7911cb5f65d1045e9ecbb5a0d08c authored almost 2 years ago by Paul E. Murphy <[email protected]>
crypto/tls,crypto/x509: clarify certificate ownership

Clarify documentation in cases where certificates returned from
various methods are not owned by...

ffa03f6bac1a86f85a3d3f16c4711b252dc404e0 authored almost 2 years ago by Roland Shoemaker <[email protected]>
go/types, types2: implement alternative comparable semantics

This is an experiment to see the impact of a potential spec change:
As an exception to the rule ...

5a3900b23c2bbbf802fa2db9dfea916a6befa517 authored almost 2 years ago by Robert Griesemer <[email protected]>
runtime: fix usleep on linux/PPC64

The existing implementation fails to convert the remainder
microseconds to nanoseconds. This cau...

65f863529ce2d66a63d8be0f62b128feb736a575 authored almost 2 years ago by Paul E. Murphy <[email protected]>
doc/go1.20: go version supports non-executable Go binaries

Closes #48187

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

decdad3537dd4797fde8c7db3005da674b50015c authored almost 2 years ago by qmuntal <[email protected]>
crypto/ed25519: implement Ed25519ph in Sign and VerifyWithOptions

Updates #31804

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

a1901f898bc05aac966edd247ff122f52fbb8d2e authored almost 2 years ago by Filippo Valsorda <[email protected]>
internal/abi, internal/buildcfg: always enable register ABI on riscv64

In Go 1.19, we develop register ABI for riscv64, enabled by default as a
GOEXPERIMENT. We can tu...

7e72d384d66f48a78289edc6a7d1dc6ab878f990 authored almost 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: use correct type in riscv64 late lower pass

The right-hand side SLLI always contains valid content in the high 32 bits,
so we should use the...

2952fe4f16666e8ebe433f7505cb52e1cfc56f4b authored almost 2 years ago by Wayne Zuo <[email protected]>
cmd/internal/ssa: correct references to _gen folder

The gen folder was renamed to _gen in CL 435472, but references in code
and docs were not update...

85196fc982ead65ea56c377c2e381eabff329773 authored almost 2 years ago by Johan Brandhorst-Satzkorn <[email protected]>
cmd/go: correct staleness for packages in modules

Packages in modules don't have a Target set for them, so the current
logic for determining stale...

5b606a9d2b7649532fe25794fa6b99bd24e7697c authored almost 2 years ago by Michael Matloob <[email protected]>
net/netip: add IPv6LinkLocalAllRouters and IPv6Loopback

Fixes #51766
Fixes #51777

Change-Id: I0510175c20c06442d78b2581cfe218e66be1c35b
Reviewed-on: htt...

d5efd0dd63a8beb5cc57ae7d25f9c60d5dea5c65 authored almost 2 years ago by Matt Layher <[email protected]>
cmd/cover: fix buglets in counter insertion

This patch has a couple of minor fixes to new-style counter insertion
(noticed these problems wh...

e43eebdab8a6df71e4b5262bcfb650ee8439870f authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/cover: fix problem with race mode and inlining

This patch fixes a problem in which we can get a data race on a
coverage counter function regist...

67403a30f61ac6af584796cdfd45c0d86820690c authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/go: don't print cached output for non-build list commands

If a user is running a go list command that wouldn't trigger a build
(for example if -export was...

99fcacfe9a09c5df0787eda15ace0f473c50363c authored almost 2 years ago by Michael Matloob <[email protected]>
math/bits: note that functions here may be compiler intrinsics

It was noted in the go1.9 release notes that functions in math/bits
may be implemented by compil...

9e7c5030d064395e24a25dd1a81722f5583defcf authored almost 2 years ago by Nick Craig-Wood <[email protected]>
runtime: gofmt

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

867babe1b1587ab6961c1d6274be2426e90bf5d4 authored almost 2 years ago by Cherry Mui <[email protected]>
go/scanner: use constant name rather than its value (cleanup)

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

2b21a27f82cdda5b0339a4b0693c760c69b0c80a authored almost 2 years ago by Park Zhou <[email protected]>
runtime: skip TestVectoredHandlerExceptionInNonGoThread

windows-amd-2012 builder seems to have some problems handling
exception thrown in external C cod...

acfdaf06f573c7b483515aed451c5148e32d6e60 authored almost 2 years ago by qmuntal <[email protected]>
crypto/sha256, cmd/internal/notsha256: improve PPC64 sha256

This minimizes addi usage inside vector heavy loops. This
results in a small performance uptick ...

6f7e9e23074d771c6adfce84d74fa11dbd8b7619 authored almost 2 years ago by Paul E. Murphy <[email protected]>
runtime/race: add GOAMD64=v3 version of linux race .syso

Makes -race mode faster, in the 15% speedup range.

Update #53743

Change-Id: I735eb71902b41c924...

c75b10be0b88c5b6767fd6fdf4e25a82a665fb76 authored almost 2 years ago by Keith Randall <[email protected]>
encoding/gob: support large slices in slice decode helpers

The slice decode helpers weren't aware of partially allocated slices.

Also add large slice supp...

4c61e079c087052355c137ab8fcd9abf8728e50a authored almost 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: copy blank parameter node when substituting function type

When a function type is copied (e.g. for substituting type
parameters), we make copies of its pa...

4725c71b735143a138b24f2b0e055c717d8d69ca authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile: in compiler errors, print more digits for floats close to an int

Error messages currently print floats with %.6g, which means that if
you tried to convert someth...

8415ec8c98627326ffb48141c45917b9d7d0c234 authored almost 2 years ago by Keith Randall <[email protected]>
runtime: fix TestVectoredHandlerExceptionInNonGoThread

This test is failing on the windows-arm64-10 builder
https://build.golang.org/log/c161c86be1af83...

160bb0e66b96e24120deba5fed927acc47b59b1a authored almost 2 years ago by qmuntal <[email protected]>
time: implement strict RFC 3339 during marshal and unmarshal

We add strict checking to marshal and unmarshal methods,
rather than Parse to maintain compatibi...

72c58fb77192f7d17d87663c943360a48aae11dc authored almost 2 years ago by Joe Tsai <[email protected]>
cmd/compile/internal/ssa: wire up late lower block function

Currently, the lowerBlock function is reused with lateLowerValue, meaning
that any block rewriti...

c0f27eb3d580c8b9efd73802678eba4c6c9461be authored almost 2 years ago by Joel Sing <[email protected]>
cmd/go/internal/modload: update TestQueryImport to pass with tagged versions of x/net

For #48523.

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

3e6ca3a506fc89f19277b3c19b751847b3864185 authored almost 2 years ago by Bryan C. Mills <[email protected]>
runtime: Add vdso on freebsd/riscv64

Use rdtime to retrieve the timecounter, same as the FreeBSD libc.

Updates #53466

Change-Id: I4...

0e56c31b85264c35869b3f5c0884beb9e2517110 authored almost 2 years ago by Mikael Urankar <[email protected]>
go/build: remove stale reference to ioutil.ReadDir

The package moved away from the deprecated ioutil API some time ago.

Change-Id: Iecb1baa9285af1...

4b5558ef01adc0916729499c3d5ce96b82bedb86 authored almost 2 years ago by Daniel Martí <[email protected]>
go/types, types2: replace typecheck with mustTypecheck almost everywhere (cleanup)

Replace even in places where before we have a specific error message
or different control-flow (...

819087624072fe8ca5914668e837d18eb231f04e authored almost 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: consolidate helper functions for tests (cleanup)

Instead of having various inconsistent helper functions, rely on
4 helper functions with consist...

27f094b17cf1e0495515614476ec9137c0ed0a82 authored almost 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: simplify test setup in a couple of places (cleanup)

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

35e54da99640110845086d30ba0b8f69a3ebd3c2 authored almost 2 years ago by Robert Griesemer <[email protected]>
go/types: remove special handling for .go1 files in tests

All but local tests are now shared and reside in internal/types;
and there are no .go1 files any...

8265683dda363d00f94e86ce8c5aa86c7b2bd2a4 authored almost 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: remove global goVersion flag (cleanup)

Now that we have an easy mechanism to set the Go version with a comment
line directly in test fi...

bfcc3a755cbd9b5c38a4961f1df76c4db0d41442 authored almost 2 years ago by Robert Griesemer <[email protected]>
runtime: ignore exceptions from non-Go threads on windows arm/arm64

If there is no current G while handling an exception it means
the exception was originated in a ...

6fe3ccd74c4bf53552da3d9f59463a8a291f59db authored almost 2 years ago by qmuntal <[email protected]>
go/internal/gcimporter,cmd/compile/internal/importer: use testenv.MustHaveGoBuild directly

These tests previously had a “skipSpecialPlatforms” function, added in
CL 8611 to skip tests on ...

4a164a44de3c67da878403504d948dfbd4fc6f7d authored almost 2 years ago by Bryan C. Mills <[email protected]>
go/internal/gcimporter,cmd/compile/internal/importer: skip tests that need 'go list' on js/wasm

js/wasm doesn't support os.Exec, so it can't run 'go list' to locate
export data for packages in...

6b22572e700235fb7303c7fd6aefcc33c743a130 authored almost 2 years ago by Bryan C. Mills <[email protected]>
runtime: throw in unreachable exitThread

Several OSes don't ever reach exitThread, On AIX, Plan9, Solaris, and
Windows, we throw if this ...

1f068f0dc7bc997446a7aac44cfc70746ad918e0 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: always keep global reference to mp until mexit completes

Ms are allocated via standard heap allocation (`new(m)`), which means we
must keep them alive (i...

e252dcf9d38ce9192bccacb7e33867cbfbd22b6c authored about 2 years ago by Michael Pratt <[email protected]>
go/types: remove pkgForMode in favor of pkgFor (cleanup)

The mode is always 0.

Change-Id: I6566383c7724b26f070729041bce203a5afa0989
Reviewed-on: https:/...

a8e4b8c2a793de420ebbe7120c132f0b090d068c authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: add test verifying types/values of type parameter "constants"

Fixes #51093.

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

54ad7f33e4981a87bdd7dfac4d61ac5d21e195c3 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types: migrate importer usage in tests

To use an importer that knows where to find stdlib .a files based on
their new locations once th...

4ac413ae22604de6defd5074dbc2a3df0ac47233 authored about 2 years ago by Michael Matloob <[email protected]>
go,cmd,internal: update to anticipate missing targets and .a files

go/build and cmd/go will stop returing Targets for stdlib .a files, and
stop producing the .a fi...

7ea0520234aafb47d05bb4822cb7af54c6ac7554 authored about 2 years ago by Michael Matloob <[email protected]>
cmd/go: fix longtest builder after runtime/internal/atomic

Loosen test to accept staleness in any runtime/internal package.
Fixes longtest builder.

Change...

b6e1a563fc142d7129a0ea6a3c6137ee12ff43f7 authored about 2 years ago by Russ Cox <[email protected]>
cmd/compile: special case coverage vars in pkg init order

When computing package initialization order, special case the counter
variables inserted by "cmd...

4fb35d6cee036fa2583512940de91a03f7f029e9 authored about 2 years ago by Than McIntosh <[email protected]>
runtime: replace all uses of CtzXX with TrailingZerosXX

Replace all uses of Ctz64/32/8 with TrailingZeros64/32/8, because they
are the same and maybe du...

7ae652b7c0cddb8f6e04bfa6f5805baac823dd64 authored about 2 years ago by Youlin Feng <[email protected]>
runtime: avoid unsafe.{Slice,String} in debuglog

CL 428157 and CL 428759 switched debuglog to using unsafe.String and
unsafe.Slice, which broke t...

c45ebef05edcb217be8f9bf1d7649763132727cc authored about 2 years ago by Michael Pratt <[email protected]>
math/rand: refactor to delay allocation of global source

This sets up for delaying the decision of which seed to use,
but this CL still keeps the origina...

7cf06f070e56dfb6507122704bc75d697ccc350f authored about 2 years ago by Russ Cox <[email protected]>
internal/godebug: remove dependency on os

The immediate reason is that we want to use godebug from math/rand,
and math/rand importing gode...

8dc08394f0d5f83523080e4dd99fded26b7c1ceb authored about 2 years ago by Russ Cox <[email protected]>
runtime/internal/atomic: add write barrier-enabled pointer atomics

UnsafePointer.Store, UnsafePointer.CompareAndSwap were missing,
although .StoreNoWB and .Compare...

9fedc481ea09a0539cd2669312429ef5416a8949 authored about 2 years ago by Russ Cox <[email protected]>
errors: add test for Join

Change-Id: I77c61211a488c66f1d445c0bf01e35aaf4f83565
GitHub-Last-Rev: c411a56a3b5215e6dd093be706...

26b48442569102226baba1d9b4a83aaee3d06611 authored about 2 years ago by fangguizhen <[email protected]>
cmd/go: fix TestScript/test_fuzz_mutate_crash for shorter fuzz names

Fixes longtest builders.

Change-Id: I8b375bcfc91695d5810493b972801df82c6c1b7c
Reviewed-on: http...

834858fa5f6ecf980116c9ab7a2927931fe54c85 authored about 2 years ago by Russ Cox <[email protected]>
all: use Go 1.17.13 for bootstrap

Previously we used Go 1.17, but we realized thanks to tickling
a pre-Go1.17.3 bug that if we are...

07c57aff5d6d8f1df96eb99507bd04c57d0616ca authored about 2 years ago by Russ Cox <[email protected]>
internal/fuzz: write shorter testdata corpus file names

The only purpose of using the SHA256 in the file name is
collision avoidance. Using just the fir...

b65e259e56a326295250f037efbd31f64bcdfbfe authored about 2 years ago by Russ Cox <[email protected]>
cmd/compile: fix a typo in comment

Change-Id: I9b18b29e14a47765dc09ac401989e0439fbf7d03
GitHub-Last-Rev: 7d9792ccb97f8e20bc5300cb4f...

d5ba1d8d6fe1d36294fa639f2d4936b331a543ea authored about 2 years ago by ezz-no <[email protected]>
runtime/coverage: skip more tests in short mode

Add more skips if short mode testing, since some of these tests
still seem to be timing out on s...

3e100a22e57106021df57ff95a0a1ae6ddab2e39 authored about 2 years ago by Than McIntosh <[email protected]>
cmd/compile: fix position of fake receivers; be more careful in logopt

The src.NoXPos in fake receivers was leaking, through a series of
mishaps, all the way to logopt...

da6042e82eb7fe5ba40a5c17959a31e19a44c3e8 authored about 2 years ago by David Chase <[email protected]>
os/signal: pass *int32 to ioctl that expects pid_t

Fixes #56233

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

c83d4fba0791927e9a0b66729ee886e0f8d15249 authored about 2 years ago by Ian Lance Taylor <[email protected]>
misc/cgo/fortran: convert to Go test

Currently, the entry-point to this test is a Bash script that smoke
tests the FORTRAN compiler a...

1e9a7550a846366eda7aaf0b3ebf870791875c17 authored about 2 years ago by Austin Clements <[email protected]>
runtime: run TestCgoSigfwd on all Unix platforms

This test was originally Linux-only, but there doesn't seem to be
anything Linux-specific in it....

03272d14edc48783581058f06b6c17855cb5bd90 authored about 2 years ago by Austin Clements <[email protected]>
runtime: improve coverage of TestCgoSigfwd

Currently, TestCgoSigfwd will pass incorrectly if the SIGSEGV that
originates in Go mistakenly g...

a81da928b4891f111e40dfca677d3c90d1411f0d authored about 2 years ago by Austin Clements <[email protected]>
misc/cgo/testsigfwd: move to runtime/testprog/testprogcgo

This migrates testsigfwd, which uses some one-off build
infrastructure, to be part of the runtim...

dacf88e40a0a3d395988d226b5e43e046dd7e68f authored about 2 years ago by Austin Clements <[email protected]>
misc/cgo/testsigfwd: delete unused code

This code was introduced in CL 17903 but has never executed. It's also
fundamentally non-determi...

abd592b3d7c3e05eaa9dd6a69749e497b1973002 authored about 2 years ago by Austin Clements <[email protected]>
cmd/compile: move {SHL,SHR,SAR}X rules to late lower pass

This can reduce a bunch of rules.

Change-Id: Id7d644307c295a0ed16eb837b3755d1117a4fbf7
Reviewed...

44563340cc6b6e3b8b1bf8f510dad9ee3f075633 authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: split 3 operand LEA in late lower pass

On newer amd64 cpus 3 operand LEA instructions are slow, CL 114655 split
them to 2 LEA instructi...

1c783f7c68aae4effd6dcc9692a6574418556ebb authored about 2 years ago by Wayne Zuo <[email protected]>
reflect: panic when Value.Equal using two non-comparable values

Assuming the two values are valid and non-comparable, Equal should panic.

x := reflect.ValueOf...

7ffc1e47b4e3b163f06fc33c9adbc29cb1622d47 authored about 2 years ago by hopehook <[email protected]>
flag: remove "// BUG" comment

Remove a vestigial " // BUG" comment as there is no bug in the relevant code section and comment...

9abcc487f8b04db8fd46eaa429a7eef5a5228241 authored about 2 years ago by Zamicol <[email protected]>
cmd/link/internal/s390: return comparison directly

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

3d92205ef5ed42147376d929e0f59c765974e345 authored about 2 years ago by cuiweixie <[email protected]>
runtime: remove redundant conversion

This appears to have been left over from a C cast during the rewrite of
malloc into Go in https:...

85b02de083b5e337bcb581005d0efca883fdb3d9 authored about 2 years ago by Dan Kortschak <[email protected]>
reflect: add Value.Grow

The Grow method is like the proposed slices.Grow function
in that it ensures that the slice has ...

61f0409c31cad8729d7982425d353d7b2ea80534 authored about 2 years ago by Joe Tsai <[email protected]>
os/signal: add missing newlines to TestTerminalSignal

For #37329.
For #56233.

Change-Id: Iafcddaddafd2d27fa5d535b57aaefec387f0b3f0
Reviewed-on: https...

9ddb8ea73724d717a9bbf44be7d585ba5587504f authored about 2 years ago by Michael Pratt <[email protected]>
misc/cgo/testasan: drop test

The testasan test was added back in 2013 (CL 10126044), many years
before Go added ASAN support ...

e612d212c6836407b3274942a394b3c0d46f6e08 authored about 2 years ago by Austin Clements <[email protected]>
runtime/internal/startlinetest: add NO_LOCAL_POINTERS macro to asm function

Should fix the mayMoreStack test.

Change-Id: Iab99192629ab62ced81e95d756f2dd15f9b7e869
Reviewed...

4e3d805a015153ca4e3382415c2474e4f954ddee authored about 2 years ago by Cherry Mui <[email protected]>
cmd/dist: drop support for pre-compiled test binaries

We haven't used this in a while and it's going to complicate later
changes to dist, so drop supp...

ae60636ab14e1bd49a8e5d818a5da8a526e59969 authored about 2 years ago by Austin Clements <[email protected]>
cmd/link: return correct default linker for the platform

If no external linker was passed with -extld, link currently assumes
that it is "gcc" which is n...

15e26698cc206661063c07cf7f0353391604001e authored about 2 years ago by Dmitri Goutnik <[email protected]>
debug/elf: fix inccorrect value in COMPRESS_ZLIB string name

LLVM recently introduced ZSTD compression for ELF sections. The error
message when failing to re...

8826bdd143314895230776e582043d34ea635a33 authored about 2 years ago by Florian Zenker <[email protected]>
net/http: skip TestTransportPersistConnLeak/h2

We started running this test under HTTP/2 in a recent refactoring.
It seems to be flaky for HTTP...

e9cdca9a24b63cba0560978fb48773b83805be25 authored about 2 years ago by Damien Neil <[email protected]>