What version of Go are you using (go version)?
$ go version
go version devel go1.20-4274ffd4b8 Tue Oct 11 04:04:13 2022 +0000 darwin/arm64
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
What did you do?
Compile following program with -d=libfuzzer:
package p
func f(x, y int) {
_ = x > y
_ = y > x
}
What did you expect to see?
Compile ok.
What did you see instead?
$ GOOS=linux GOARCH=386 go tool compile -d=libfuzzer p.go
p.go:5:8: constant 3550266861 overflows int
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 envOutputWhat did you do?
Compile following program with
-d=libfuzzer:What did you expect to see?
Compile ok.
What did you see instead?