-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/compile: internal compiler error: esc return list #15141
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
Fails at tip too (but now with a stack trace, thanks to a recent change).
|
If you replace |
There's something wrong with the too-large-for-stack transformation in |
Below, f and g work, h does not.
|
Issue preexisting in Go 1.6. |
No longer reproduces. |
CL https://golang.org/cl/31972 mentions this issue. |
Bug 15141 was apparently fixed by some other change to the compiler (this is plausible, it was a weird bug dependent on a particular way of returning a large named array result), add the test to ensure that it stays fixed. Updates #15141. Change-Id: I3d6937556413fab1af31c5a1940e6931563ce2f3 Reviewed-on: https://go-review.googlesource.com/31972 Run-TryBot: David Chase <drchase@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
FWIW this may be a duplicate of another issue I remember seeing. I skimmed through and could not find it, thus thus issue.
go version
)?1.6
go env
)?GOOS="linux"
GOARCH="amd64"
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
https://play.golang.org/p/IccuDHNXXu
It seems any array size over 0xA00000 triggers this error.
No compiler error.
prog.go:8: internal compiler error: esc return list
The text was updated successfully, but these errors were encountered: