]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: handle propagating an out-of-range jump table index
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Mon, 22 Dec 2025 11:49:17 +0000 (18:49 +0700)
committerGopher Robot <gobot@golang.org>
Tue, 23 Dec 2025 15:32:56 +0000 (07:32 -0800)
commitb6b8b2fe6ef8ceb727c7a157750cdd4e61393489
tree75beb69b9677b9024814d18e0d6b59e4da080f43
parent2cd0371a0a61e0dec6034239b1a92a20968c8522
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
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>
src/cmd/compile/internal/ssa/sccp.go
test/fixedbugs/issue76950.go [new file with mode: 0644]