cmd/compile: missing BCE case #41335
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://godbolt.org/z/31M9no
Bound checks in function test after
_ = dst[val+3]
could be eliminated, but not.What did you expect to see?
Only one bound check exists in function test.
What did you see instead?
There are three bound checks in function test.
The text was updated successfully, but these errors were encountered: