diff options
| author | Cuong Manh Le <cuong.manhle.vn@gmail.com> | 2026-03-09 18:51:53 +0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-03-10 04:42:57 -0700 |
| commit | 28b1d8886b3bd5645f8bfebb7713358a1551d435 (patch) | |
| tree | be152e3729e6b5f822f9aafd3f55b7d21415d73f /src/cmd/internal/obj | |
| parent | b0057a4e0cacb4c920c9eb82216b63ed60d6e9fb (diff) | |
| download | go-28b1d8886b3bd5645f8bfebb7713358a1551d435.tar.xz | |
cmd/compile: fix ICE when checking slice cap
CL 226737 optimized len check when make slice in common case when len is
within range of cap. However, the generated code does not walk the AST
for the if condition, causing un-walked nodes passed to the backend.
Fixes #78028
Change-Id: I492fb230c10e585dc09391728ef4df2c0058ce12
Reviewed-on: https://go-review.googlesource.com/c/go/+/753100
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jakub Ciolek <jakub@ciolek.dev>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/cmd/internal/obj')
0 files changed, 0 insertions, 0 deletions
