cmd/compile: internal compiler error: 'f': value .autotmp_1 (nil) incorrectly live at entry [1.21 backport]
Closed this issue · 2 comments
gopherbot commented
@cuonglm requested issue #61778 to be considered for backport to the next 1.21 minor release.
@gopherbot please backport this to go1.21
The ICE introduced in CL 497276, where an optimization for
len(string([]byte))was added.
gopherbot commented
Change https://go.dev/cl/516535 mentions this issue: [release-branch.go1.21] cmd/compile: fix missing init nodes for len(string([]byte)) optimization