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
on dev.ssa branch go version devel +9b04852 Sat Jul 11 00:08:50 2015 +0000 linux/amd64
gc crashes on the following program:
package A func f_ssa() { x := 0 return x = 1 _ = x }
panic: assignment to entry in nil map goroutine 1 [running]: cmd/compile/internal/gc.buildssa.func1(0xc82011b510) src/cmd/compile/internal/gc/ssa.go:46 +0x4d cmd/compile/internal/gc.(*state).assign(0xc8200ad778, 0x14, 0xc82018a7e0, 0xc82018b830) src/cmd/compile/internal/gc/ssa.go:610 +0x30b cmd/compile/internal/gc.(*state).stmt(0xc8200ad778, 0xc820192000) src/cmd/compile/internal/gc/ssa.go:337 +0x11d cmd/compile/internal/gc.(*state).stmtList(0xc8200ad778, 0xc82015bae0) src/cmd/compile/internal/gc/ssa.go:281 +0x3a cmd/compile/internal/gc.buildssa(0xc82018a510, 0x0, 0xc82018be00) src/cmd/compile/internal/gc/ssa.go:95 +0x944 cmd/compile/internal/gc.compile(0xc82018a510) src/cmd/compile/internal/gc/pgen.go:412 +0x608 cmd/compile/internal/gc.funccompile(0xc82018a510) src/cmd/compile/internal/gc/dcl.go:1480 +0x1c9 cmd/compile/internal/gc.Main() src/cmd/compile/internal/gc/lex.go:473 +0x1f08 cmd/compile/internal/amd64.Main() src/cmd/compile/internal/amd64/galign.go:127 +0x58d main.main() src/cmd/compile/main.go:26 +0x189
The text was updated successfully, but these errors were encountered:
@josharian @DanielMorsing
Sorry, something went wrong.
Yes, ast->ssa converter has issues with unreachable code. Josh has been looking into it.
Fixed by CL 12445.
No branches or pull requests
on dev.ssa branch
go version devel +9b04852 Sat Jul 11 00:08:50 2015 +0000 linux/amd64
gc crashes on the following program:
The text was updated successfully, but these errors were encountered: