]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.24] cmd/compile: handle propagating an out-of-range jump table...
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Mon, 22 Dec 2025 11:49:17 +0000 (18:49 +0700)
committerJunyang Shao <shaojunyang@google.com>
Wed, 7 Jan 2026 17:25:41 +0000 (09:25 -0800)
commit27dc6f01ffe70179b90d6c660d67d29967fa2eef
tree7039777bb963be8411dc23ee6dbbef234316af68
parent6cdf9962bd4422f760c141c5ae66522d9837e353
[release-branch.go1.24] 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 #76966

Change-Id: Iff29814cb466c7aaa432cec212e5387665c45afc
Reviewed-on: https://go-review.googlesource.com/c/go/+/731860
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/732480
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Junyang Shao <shaojunyang@google.com>
Commit-Queue: Junyang Shao <shaojunyang@google.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
src/cmd/compile/internal/ssa/sccp.go
test/fixedbugs/issue76950.go [new file with mode: 0644]