-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: invalid instruction with ssa backend #16733
Comments
/cc @cherrymui @dr2chase |
Until golang/go#16733 is fixed Signed-off-by: Thomas Graf <thomas@cilium.io>
Fix has been submitted, will go out with an eventual 1.7.1. You can work around this for now by putting one of the constants you're multiplying by in a global variable. |
Looks like I misapplied the Go 1.7.1 milestone. This doesn't appear to affect Go 1.7 at all. It was introduced only after 1.7 in f0bab31 I think. (@josharian, @randall77?) |
Yes, that's the commit. The troublesome line was even discussed in the review. It was on the dev.ssa branch, so shouldn't be in 1.7, so no need for 1.7.1 milestone. |
Please answer these questions before submitting your issue. Thanks!
go version
)?go version devel +1e94d79 Tue Aug 16 10:41:53 2016 +0000 linux/amd64
go env
)?go get github.com/prometheus/common/model
go get
downloaded and compiled the packagego get -u -gcflags="-ssa=0" github.com/prometheus/common/model
works good.Also, if I get the repo with
git clone
, and then compile withgo build -gcflags="-ssa=0"
, everything works fine.The text was updated successfully, but these errors were encountered: