Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
gccgo internal compiler error on case aStruct{} #14931
Comments
|
Thanks for the bug report. This is already fixed in GCC 5. |
ianlancetaylor
closed this
Mar 23, 2016
bz2
commented
Mar 23, 2016
|
Thanks. Google let me down on finding an existing bug against 4.9 then. |
gopherbot
locked and limited conversation to collaborators
Mar 23, 2017
gopherbot
added
the
FrozenDueToAge
label
Mar 23, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
bz2 commentedMar 23, 2016
Compiling a switch with a struct literal in a case statement hits a gccgo internal compiler errror.
What version of Go are you using (
go version)?What operating system and processor architecture are you using (
go env)?Ubuntu 14.04 PPC64el.
What did you do?
http://play.golang.org/p/70E3YlrAYG
Reduced test case from:
https://github.com/juju/charmstore/blob/a19f96921f585203d9d9d45e0dad5987d35da8c8/internal/v5/api.go#L358
What did you expect to see?
What did you see instead?