commit 862c888e612ac346c7c4d99c9392bdfd265f33b0 [browse]
Author: Gopher Robot
Date: 2026-09-01 12:43:34 -07:00
[release-branch.go1.27] go1.27.1
Change-Id: I14348d1dc655281274a8731f077ae62725175397
Reviewed-on: https://go-review.googlesource.com/c/go/+/825985
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
TryBot-Bypass: Gopher Robot <gobot@golang.org>
Auto-Submit: Gopher Robot <gobot@golang.org>
commit 843a92e3b643e8fc3e4a89f65677558cf945e839 [browse]
Author: Nikita Kruglov
Date: 2026-08-24 12:37:09 +03:00
[release-branch.go1.27] database/sql: fix closingMutex writer coordination
Lock loads the mutex state and first tries to acquire it. If a reader
acquires and releases the mutex after that load, Lock could use the stale
value to change state from 0 to 1 and then wait. With no active reader,
nothing would wake the writer.
After a failed acquire from an unlocked state, reload the state before
setting the writer-waiting bit. This ensures Lock only waits for readers
when a future RUnlock is guaranteed to notify it.
Updates #81043
Fixes #81151
Change-Id: I22f771122f44008aef699a0b4fe79a5b48e0ab09
Reviewed-on: https://go-review.googlesource.com/c/go/+/820060
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: David Chase <drchase@google.com>
(cherry picked from commit 971bc73657e8560bdb4d9dd7f5e381ed49c9e8c7)
Reviewed-on: https://go-review.googlesource.com/c/go/+/823124
Reviewed-by: Carlos Amedee <carlos@golang.org>
commit 12affc4b1099893c5d5ef346c414b74042580a28 [browse]
Author: Cuong Manh Le
Date: 2026-08-28 15:45:48 +07:00
[release-branch.go1.27] cmd/compile: fix incorrect qualifying generic methods with alias receiver
Generic method formatting relies on the underlying defined type of the
receiver. However, when determining whether to format a pointer
receiver, the compiler incorrectly checked the alias type instead of the
unaliased defined type, resulting in an incorrect qualify identifier.
Fix this by unwrapping the receiver alias type before evaluating the
pointer formatting logic.
Fixes #81195
Change-Id: Ie76eb3ccb133ff66c36d7d805ebe0a464c554d18
Reviewed-on: https://go-review.googlesource.com/c/go/+/823645
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
commit ae786d7c16bff3fd92409eaeec1bdf954c2bbb07 [browse]
Author: Jorropo
Date: 2026-08-25 08:14:19 +02:00
[release-branch.go1.27] cmd/compile: do not use float min max on s390x
s390x's min max java instruction were new and added in z14.
z13 cpus used to be able to execute go code before that.
Updates #81095
Fixes #81096
Change-Id: I679868d6e0f6638ac4d48462363692740bc66bd9
Reviewed-on: https://go-review.googlesource.com/c/go/+/820960
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
Reviewed-by: Robert Griesemer <gri@google.com>
(cherry picked from commit 026391c1b9eacdf10a734f2bdf1f99e63500ab4c)
Reviewed-on: https://go-review.googlesource.com/c/go/+/822564
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
Auto-Submit: David Chase <drchase@google.com>
commit 0929039dd9b10c6dc8ecd8355fcd71fa75d12c85 [browse]
Author: Ian Lance Taylor
Date: 2026-08-25 14:41:25 -07:00
[release-branch.go1.27] debug/elf: use addend when applying ppc relocations
CL 705075 accidentally dropped the addend value when applying
ppc relocations. This CL restores it.
For #75516
For #81112
Fixes #81114
Change-Id: I4313325647f9315ce77cae6548aff3c38e66815f
Reviewed-on: https://go-review.googlesource.com/c/go/+/821720
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
SLSA-Policy-Verified: SLSA Policy Verification Service <devtools-gerritcodereview-exitgate@google.com>
(cherry picked from commit 620058f867b26c29f76198b170e816004ecd4144)
Reviewed-on: https://go-review.googlesource.com/c/go/+/822424
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
clone the repository to get more history