You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This reveals a pre-existing hidden bug rather than a regression caused by #81612.
@cuonglm Can you clarify why this should be backported to 1.26?
I believe this issue meets the same criteria for backporting as #81612. Both involve compiler optimization bugs that cause valid programs to crash.
While the specific resolve test case in CL 836025 might pass without this backport (simply because the code change that triggers it isn't present in 1.26), the underlying bug is still there. It seems we simply missed backporting this fix during the Go 1.27 release cycle, rather than the issue being unqualified for backporting.
Activity
gopherbot commentedon Sep 23, 2026
Change https://go.dev/cl/837305 mentions this issue:
[release-branch.go1.26] cmd/compile: fix slice backing store analysisprattmic commentedon Sep 29, 2026
@cuonglm Can you clarify why this should be backported to 1.26? How does it relate to #81612? Is it a prerequisite for that backport?
cuonglm commentedon Sep 29, 2026
No. Although they are related, the two fixes are independent and touch different areas of the slice analysis pass.
This reveals a pre-existing hidden bug rather than a regression caused by #81612.
I believe this issue meets the same criteria for backporting as #81612. Both involve compiler optimization bugs that cause valid programs to crash.
While the specific resolve test case in CL 836025 might pass without this backport (simply because the code change that triggers it isn't present in 1.26), the underlying bug is still there. It seems we simply missed backporting this fix during the Go 1.27 release cycle, rather than the issue being unqualified for backporting.
[release-branch.go1.26] cmd/compile: fix slice backing store analysis
gopherbot commentedon Sep 30, 2026
Closed by merging CL 837305 (commit 2a1834b) to
release-branch.go1.26.