-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: internal compiler error: 'XXXXXX': not lowered: v128, Load INTER PTR SSA #43112
Comments
Seems related to expand calls again. Could you please give a minimal reproducible example, or make the code public somewhere? |
@cuonglm Please try |
I'm trying to reproduce by the code below but it compiled, please provide mininal code example. package main
import (
"fmt"
got "go/token"
"sync"
)
type Position struct {
got.Position
}
type Scope struct {
mutex *sync.Mutex
position Position
outer *Scope
comment string
}
type trivial struct{ position Position }
type trivialobject struct { // generally unnamed objects
trivial
scope *Scope
}
type knownobject struct { // generally named objects
trivialobject
name string
}
type ScopeName struct {
knownobject
scope *Scope
}
func (n *ScopeName) Get() string {
return n.name
}
func main() {
a := &ScopeName{}
fmt.Println(a.Get())
} |
@mengzhuo Hi, I will suggest you to compile https://github.com/duzy/smart/blob/master/cmd/main.go instead of your code segment. Because your extracted ScopeName is very different from in https://github.com/duzy/smart. |
A quick try might be |
Change https://golang.org/cl/276952 mentions this issue: |
Tentatively labelling this as a 1.16 Release Blocker, since it's a compiler crash on a first class port, and introduced in this development cycle; just to be sure this is at least looked at before the release. Feel free to change. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
The
release-branch.go1.15
is fine (go version go1.15.6 darwin/amd64
).What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Just recompile my code with the new 'go'.
What did you expect to see?
You say it.
What did you see instead?
where the ScopeName.Get is looking like this:
The text was updated successfully, but these errors were encountered: