cmd/compile: internal compiler error of atomic type and offsetof #54220
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Try to cross-build a simple case having atomic type and unsafe.Offsetof.
https://go.dev/play/p/BwewXT6hUo9
GOARCH=386 go build <simple.go>
What did you expect to see?
no error.
What did you see instead?
command-line-arguments
./simple.go:17:44: internal compiler error: got 4 from types2, but want 8
The text was updated successfully, but these errors were encountered: