The text was updated successfully, but these errors were encountered:
brtzsnr
changed the title
cmd/compile: redundant loop generated of comparing/hashing arrays of size 1.
cmd/compile: redundant loop generated for comparing/hashing arrays of size 1.
Mar 8, 2016
Please answer these questions before submitting your issue. Thanks!
go version
)?go version devel +f81cfc6 Tue Mar 8 23:54:09 2016 +0100 linux/amd64
(local compile)
go env
)?GOARCH="amd64"
GOHOSTARCH="amd64"
go tool objdump vet| less
No loop. There are many instances of this in the standard library.
There is clearly a 1 trip loop in the following assembly code;
The text was updated successfully, but these errors were encountered: