Closed
Description
The following program panics when compiled using gc
:
package main
func main() {
x := 0
_ = 1 / x
}
It does not panic when compiled with GopherJS.
This is the same issue as golang/go#18024 upstream, and it was uncovered by me when working on go1.8 branch thanks to golang/go@c2bb52b causing fixedbugs/issue8613.go
test to run as part of TestGoRepositoryCompilerTests
.
Low priority, I'm reporting for tracking purposes.