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: tighten pass moves value incorrectly #19217
Labels
Milestone
Comments
The problem is that
tighten pass moves v64 to the predecessor block of b9. |
CL https://golang.org/cl/37340 mentions this issue. |
Reopen for patching Go 1.8. |
CL https://golang.org/cl/39596 mentions this issue. |
Cherry-picked to release. |
gopherbot
pushed a commit
that referenced
this issue
Apr 5, 2017
…ickier nesting The loop-A-encloses-loop-C code did not properly handle the case where really C was already known to be enclosed by B, and A was nearest-outer to B, not C. Fixes #19217. Change-Id: I755dd768e823cb707abdc5302fed39c11cdb34d4 Reviewed-on: https://go-review.googlesource.com/39596 Run-TryBot: Austin Clements <austin@google.com> Reviewed-by: David Chase <drchase@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?go1.8
@funny-falcon reported in issue #19179 that the following code doesn't compile. It is a different bug than the original one in #19179 -- the problem happens in the tighten pass, instead of the writebarrier pass. I can reproduce it with Go 1.8. (But it compiles with Go 1.7)
The text was updated successfully, but these errors were encountered: