We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$ gotip version go version devel +006bc57095 Sun Oct 22 15:50:50 2017 +0000 linux/amd64
The following program, reduced from a gosmith-generated one:
package p var V [2]interface{} func F() { V = [2]interface{}{} }
crashes the tip compiler when compiled with GOARCH=arm64:
GOARCH=arm64
$ GOARCH=arm64 gotip build 0.go # command-line-arguments <autogenerated>:1:0: illegal combination 00036 (0.go:6) STP (ZR, ZR), "".V(SB) PAIR NONE ADDR, 10 3 <autogenerated>:1:0: illegal combination 00040 (0.go:6) STP (ZR, ZR), "".V+16(SB) PAIR NONE ADDR, 10 3 <autogenerated>:1:0: illegal combination 00036 (0.go:6) STP (ZR, ZR), "".V(SB) PAIR NONE ADDR, 10 3 <autogenerated>:1:0: illegal combination 00040 (0.go:6) STP (ZR, ZR), "".V+16(SB) PAIR NONE ADDR, 10 3 <autogenerated>:1:0: illegal combination 00036 (0.go:6) STP (ZR, ZR), "".V(SB) PAIR NONE ADDR, 10 3 <autogenerated>:1:0: illegal combination 00040 (0.go:6) STP (ZR, ZR), "".V+16(SB) PAIR NONE ADDR, 10 3
The program compiles successfully with go1.9.1.
The text was updated successfully, but these errors were encountered:
The issue was introduced in c02fc16 (cmd/compile: memory clearing optimization for arm64).
cc @williamweixiao @cherrymui
Sorry, something went wrong.
Yeah, it seems that CL missed the addressing mode of global for LDP/STP.
Change https://golang.org/cl/72610 mentions this issue: cmd/internal/obj/arm64: handle global address in LDP/STP
cmd/internal/obj/arm64: handle global address in LDP/STP
083338c
No branches or pull requests
The following program, reduced from a gosmith-generated one:
crashes the tip compiler when compiled with
GOARCH=arm64
:The program compiles successfully with go1.9.1.
The text was updated successfully, but these errors were encountered: