Skip to content

cmd/compile: SSA code generation bug #14694

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

Closed
dgryski opened this issue Mar 7, 2016 · 2 comments
Closed

cmd/compile: SSA code generation bug #14694

dgryski opened this issue Mar 7, 2016 · 2 comments
Milestone

Comments

@dgryski
Copy link
Contributor

dgryski commented Mar 7, 2016

A TravisCI test failure for github.com/go-sql-driver/mysql ( https://travis-ci.org/go-sql-driver/mysql/builds/114356883 ) caught this SSA code generation failure.

Code and test extracted here: https://play.golang.org/p/YPy3UA4X7M

Reproduced on my local machine:

<dgryski@kamek[w] \ʕ◔ϖ◔ʔ/ > go version
go version go1.6 linux/amd64
<dgryski@kamek[w] \ʕ◔ϖ◔ʔ/ > go run main.go
<dgryski@kamek[w] \ʕ◔ϖ◔ʔ/ > ~/work/src/cvs/go.tip/bin/go version
go version devel +133c26b Mon Mar 7 20:53:49 2016 +0000 linux/amd64
<dgryski@kamek[w] \ʕ◔ϖ◔ʔ/ > ~/work/src/cvs/go.tip/bin/go run main.go
2016/03/07 23:02:47 fe0000000100000000: expected 16777216, got 4294967550
2016/03/07 23:02:47 4294967550: expected fe0000000100000000, got fefe00000001000000
2016/03/07 23:02:47 fef0debc9a78563412: expected 1311768467463790320, got 3771334343958393086
2016/03/07 23:02:47 3771334343958393086: expected fef0debc9a78563412, got fefef0debc9a785634
2016/03/07 23:02:47 feffffffffffffffff: expected 18446744073709551615, got 18446744073709551614
2016/03/07 23:02:47 18446744073709551614: expected feffffffffffffffff, got fefeffffffffffffff
@ianlancetaylor ianlancetaylor added this to the Go1.7 milestone Mar 7, 2016
@dgryski
Copy link
Contributor Author

dgryski commented Mar 7, 2016

A git bisect points at 12e6045

@gopherbot
Copy link
Contributor

CL https://golang.org/cl/20333 mentions this issue.

@golang golang locked and limited conversation to collaborators Mar 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants