[go] cmd/compile: handle propagating an out-of-range jump table index

1 view
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Dec 23, 2025, 10:33:01 AM (2 days ago) Dec 23
to Cuong Manh Le, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Cherry Mui, David Chase, Go LUCI, Keith Randall, Yi Yang, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
cmd/compile: handle propagating an out-of-range jump table index

For an out-of-range jump table index, the constant facts should not be
propagated to the destinations.

Fixes #76950
Change-Id: Iff29814cb466c7aaa432cec212e5387665c45afc
Auto-Submit: Cuong Manh Le <cuong.m...@gmail.com>
Reviewed-by: David Chase <drc...@google.com>
Reviewed-by: Cherry Mui <cher...@google.com>
Files:
  • M src/cmd/compile/internal/ssa/sccp.go
  • A test/fixedbugs/issue76950.go
Change size: M
Delta: 2 files changed, 71 insertions(+), 0 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by David Chase, +1 by Cherry Mui
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
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: master
Gerrit-Change-Id: Iff29814cb466c7aaa432cec212e5387665c45afc
Gerrit-Change-Number: 731860
Gerrit-PatchSet: 3
Gerrit-Owner: Cuong Manh Le <cuong.m...@gmail.com>
Gerrit-Reviewer: Cherry Mui <cher...@google.com>
Gerrit-Reviewer: Cuong Manh Le <cuong.m...@gmail.com>
Gerrit-Reviewer: David Chase <drc...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Keith Randall <k...@golang.org>
Gerrit-CC: Yi Yang <qingf...@alibaba-inc.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages