cmd/compile: missed optimization when using verbose array initialization #54612
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.
Performance
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, reproduces with Go 1.19
What operating system and processor architecture are you using (
go env
)?linux/amd64
What did you do?
What did you expect to see?
I expected both versions to compile the same.
What did you see instead?
pack2
is optimized better thanpack1
.The text was updated successfully, but these errors were encountered: