Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Avoid internal compiler error on gccgo #582
Conversation
|
Test PASSed. |
cherylj
commented
Mar 23, 2016
|
juju-core bug: https://bugs.launchpad.net/juju-core/+bug/1561023 |
cherylj
commented
Mar 23, 2016
|
LGTM |
|
|
|
Status: merge request accepted. Url: http://ci.jujugui.org:8080/job/charmstore-merge |
jujugui
merged commit dab0340
into
juju:v5-unstable
Mar 23, 2016
1 check passed
default
Merged build finished.
Details
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bz2 commentedMar 23, 2016
Something in the handling of constants by gccgo 4.9 blows up
when trying to compile api.go:
In function ‘v5.WillIncludeMetadata.pN59_gopkg_in_juju_charmstore_v5_unstable_internal_v5.ReqHandler’:
go1: internal compiler error: in fold_binary_loc, at fold-const.c:10124
Adjusting the switch statement to look at type rather than compare
against literals avoids the issue.