-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/compile: internal compiler error: 'init': Value live at entry #56778
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
Comments
It seems this issue is related to b1678e5. |
Encountered the same error when building a different package:
|
For posterity, that cc @rsc @golang/compiler |
we also have seen while building one of the openshift binary
|
It seems to me that we can't do the optimization if the inlined body contains non-trivial closures. |
Change https://go.dev/cl/451555 mentions this issue: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
We got this error on our tip pipeline: https://github.com/gotd/td/actions/runs/3486077630/jobs/5832192510
Compiler fails to build this line:
https://github.com/gotd/td/blob/7aaba815698a4c2a57cfd68eac22ab4d84c74ad5/internal/mtproto/write.go#L18
I've tried to minimize the reproducer, but have had no success.
What did you expect to see?
Successful
go build
run.What did you see instead?
Stack trace:
The text was updated successfully, but these errors were encountered: