Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/compile: crash on (unsafe.Sizeof)(0) #17270

Closed
mdempsky opened this issue Sep 28, 2016 · 0 comments
Closed

cmd/compile: crash on (unsafe.Sizeof)(0) #17270

mdempsky opened this issue Sep 28, 2016 · 0 comments

Comments

@mdempsky
Copy link
Member

cmd/compile crashes due to "dowidth any" on:

package p
import "unsafe"
const _ = (unsafe.Sizeof)(0)

https://play.golang.org/p/zW-ZyUKRBg

gccgo and gotype accept it.

@mdempsky mdempsky self-assigned this Sep 28, 2016
@golang golang locked and limited conversation to collaborators Sep 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants