-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: fi missing from LHS of fi, err := fs.FileInfo(~R0), ~R1 #45606
Comments
Is it reasonable to fix that replacing
in |
/cc @danscales for inlining and closures |
This doesn't appear to be a problem with the new export/import stuff, as setting |
This is the smallest reproducer I've been able to create so far:
It still requires bumping |
This reproduces with unmodified cmd/compile:
|
@mdempsky seems that we are currently creating new name node for |
@cuonglm That sounds likely. I took a break from this issue for the moment, so if you want to work on a CL, go for it. |
Change https://golang.org/cl/312630 mentions this issue: |
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Compiled GO with increased
inlineMaxBudged=229
. This led to a inlining problem of functionfunc isDir(path string) bool
insrc/cmd/go/internal/load/pkg.go
.What did you expect to see?
Successful compilation.
What did you see instead?
Got an error:
pkg.go:559:5: internal compiler error: fi missing from LHS of fi, err := fs.FileInfo(~R0), ~R1
The text was updated successfully, but these errors were encountered: