[go/release-branch.go1.25] [release-branch.go1.25] fix incorrect loop trip counts

0 views
Skip to first unread message

Carlos Amedee (Gerrit)

unread,
Apr 23, 2026, 4:17:54 PM (2 days ago) Apr 23
to Mark Freeman, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Keith Randall, Jorropo, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com

Carlos Amedee submitted the change

Change information

Commit message:
[release-branch.go1.25] fix incorrect loop trip counts

While CL 758801 addresses this fix on tip, it does not apply
cleanly on go1.25 or go1.26. In the interest of safety, this
disables loop inversion; it's the least invasive path.

Fixes #78374
Change-Id: Iaac5825c143669eb626352d3a965978f93f8f505
Reviewed-by: Keith Randall <k...@google.com>
TryBot-Bypass: Carlos Amedee <car...@golang.org>
Reviewed-by: Jorropo <jorro...@gmail.com>
Reviewed-by: Carlos Amedee <car...@golang.org>
Files:
  • M src/cmd/compile/internal/ssa/prove.go
Change size: M
Delta: 1 file changed, 0 insertions(+), 118 deletions(-)
Branch: refs/heads/release-branch.go1.25
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: release-branch.go1.25
Gerrit-Change-Id: Iaac5825c143669eb626352d3a965978f93f8f505
Gerrit-Change-Number: 766981
Gerrit-PatchSet: 2
Gerrit-Owner: Mark Freeman <markf...@google.com>
Gerrit-Reviewer: Carlos Amedee <car...@golang.org>
Gerrit-Reviewer: Jorropo <jorro...@gmail.com>
Gerrit-Reviewer: Keith Randall <k...@google.com>
Gerrit-Reviewer: Mark Freeman <markf...@google.com>
open
diffy
satisfied_requirement

Carlos Amedee (Gerrit)

unread,
Apr 23, 2026, 4:17:59 PM (2 days ago) Apr 23
to Mark Freeman, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Dmitri Shuralyov, Keith Randall, Jorropo, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com

Carlos Amedee submitted the change

Change information

Commit message:
[release-branch.go1.26] fix incorrect loop trip counts


While CL 758801 addresses this fix on tip, it does not apply
cleanly on go1.25 or go1.26. In the interest of safety, this
disables loop inversion; it's the least invasive path.

Fixes #78375
Change-Id: Iac399ca47b811042dc5f38272d201d3dc61390b8
Reviewed-by: Jorropo <jorro...@gmail.com>
TryBot-Bypass: Dmitri Shuralyov <dmit...@golang.org>
Reviewed-by: Keith Randall <k...@google.com>
Files:
  • M src/cmd/compile/internal/ssa/prove.go
Change size: M
Delta: 1 file changed, 0 insertions(+), 118 deletions(-)
Branch: refs/heads/release-branch.go1.26
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: release-branch.go1.26
Gerrit-Change-Id: Iac399ca47b811042dc5f38272d201d3dc61390b8
Gerrit-Change-Number: 766982
Gerrit-PatchSet: 2
Gerrit-Owner: Mark Freeman <markf...@google.com>
Gerrit-Reviewer: Carlos Amedee <car...@golang.org>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages