-
Notifications
You must be signed in to change notification settings - Fork 18k
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: escape analysis does not analyze closure calls #7714
Comments
Similar case from #8615
|
What is the current status of this? Go 1.9 still moves
build output:
|
This has not been fixed. And as far as I know, no one is working on it. |
Dose the current Go1.10 version fix this? code:
go build -gcflags=-m x.go output:
|
Yes, seems like that. Maybe a side-effect of some other optimization. ping @randall77, @josharian |
I think this is still an issue. In the simple example it doesn't happen because the call is inlined, but you can see it if you "go build" with |
These are fixed with -newescape=true, and confirmed with updated regress tests. |
The text was updated successfully, but these errors were encountered: