cmd/compile: math.Trunc produces incorrect result on riscv64 in Go 1.23rc1 #68322
Labels
arch-riscv
Issues solely affecting the riscv64 architecture.
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Go version
go version go1.23rc1 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
I created the following reproducer
What did you see happen?
I cross compiled the test with GOOS=linux GOARCH=riscv64, and run it in the qemu environment. Then the test passed with Go 1.22 but was failing with Go 1.23rc1.
What did you expect to see?
The test passes.
The text was updated successfully, but these errors were encountered: