]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: check ODEREF for safe lhs in assignment during static init
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Sat, 30 Mar 2024 10:35:46 +0000 (17:35 +0700)
committerGopher Robot <gobot@golang.org>
Tue, 2 Apr 2024 17:12:59 +0000 (17:12 +0000)
commit973befe714d43ebb3f04a583cc136ffe8909b344
treee3a0131ccfa2f5e4373498024bcceb05c6a808dc
parent94dba61276f26c01b7d3d1a4abb195bdcc596bfd
cmd/compile: check ODEREF for safe lhs in assignment during static init

For #66585

Change-Id: Iddc407e3ef4c3b6ecf5173963b66b3e65e43c92d
Reviewed-on: https://go-review.googlesource.com/c/go/+/575336
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/compile/internal/staticinit/sched.go
test/codegen/issue66585.go [new file with mode: 0644]