-
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
go/compile: corrupted function return value #23812
Comments
To @randall77 for codegen. |
Probably introduced here: https://go-review.googlesource.com/c/go/+/13641 |
Possibly worth backporting to 1.9 and 1.10. |
Change https://golang.org/cl/93716 mentions this issue: |
Reopening for possible 1.10 final and 1.9.5. |
Change https://golang.org/cl/94028 mentions this issue: |
Repeat previous fix on amd64 for s390x. Sub-word right shifts should sign extend before shifting. Update #23812 Change-Id: I2d770190c7d8a22310b0dbd9facb3fb05afa362a Reviewed-on: https://go-review.googlesource.com/94028 Run-TryBot: Keith Randall <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
Change https://golang.org/cl/94215 mentions this issue: |
Change https://golang.org/cl/94216 mentions this issue: |
…ifts The sub-word shifts need to sign-extend before shifting, to avoid bringing in data from higher in the argument. Fixes #23812 Change-Id: I0a95a0b49c48f3b40b85765bb4a9bb492be0cd73 Reviewed-on: https://go-review.googlesource.com/93716 Run-TryBot: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Cherry Zhang <[email protected]> (cherry picked from commit 755b36a) Reviewed-on: https://go-review.googlesource.com/94215 Reviewed-by: Brad Fitzpatrick <[email protected]>
…ifts on s390x Repeat previous fix on amd64 for s390x. Sub-word right shifts should sign extend before shifting. Update #23812 Change-Id: I2d770190c7d8a22310b0dbd9facb3fb05afa362a Reviewed-on: https://go-review.googlesource.com/94028 Run-TryBot: Keith Randall <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]> (cherry picked from commit 1566bf9) Reviewed-on: https://go-review.googlesource.com/94216
…ifts The sub-word shifts need to sign-extend before shifting, to avoid bringing in data from higher in the argument. Fixes golang#23812 Change-Id: I0a95a0b49c48f3b40b85765bb4a9bb492be0cd73 Reviewed-on: https://go-review.googlesource.com/93716 Run-TryBot: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Cherry Zhang <[email protected]> (cherry picked from commit 755b36a) Reviewed-on: https://go-review.googlesource.com/94215 Reviewed-by: Brad Fitzpatrick <[email protected]>
…ifts on s390x Repeat previous fix on amd64 for s390x. Sub-word right shifts should sign extend before shifting. Update golang#23812 Change-Id: I2d770190c7d8a22310b0dbd9facb3fb05afa362a Reviewed-on: https://go-review.googlesource.com/94028 Run-TryBot: Keith Randall <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]> (cherry picked from commit 1566bf9) Reviewed-on: https://go-review.googlesource.com/94216
CL 93716 OK for Go 1.9.5 |
Change https://golang.org/cl/102775 mentions this issue: |
Change https://golang.org/cl/102777 mentions this issue: |
The sub-word shifts need to sign-extend before shifting, to avoid bringing in data from higher in the argument. Fixes #23812 Change-Id: I0a95a0b49c48f3b40b85765bb4a9bb492be0cd73 Reviewed-on: https://go-review.googlesource.com/93716 Run-TryBot: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Cherry Zhang <[email protected]> Reviewed-on: https://go-review.googlesource.com/102775 Run-TryBot: Andrew Bonventre <[email protected]>
…fts on s390x Repeat previous fix on amd64 for s390x. Sub-word right shifts should sign extend before shifting. Update #23812 Change-Id: I2d770190c7d8a22310b0dbd9facb3fb05afa362a Reviewed-on: https://go-review.googlesource.com/94028 Run-TryBot: Keith Randall <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]> Reviewed-on: https://go-review.googlesource.com/102777 Run-TryBot: Andrew Bonventre <[email protected]> Reviewed-by: Keith Randall <[email protected]>
What version of Go are you using (
go version
)?go version go1.9.4 linux/amd64
Does this issue reproduce with the latest release?
Yes (
go version devel +2010189407 Tue Feb 13 16:34:46 2018 +0000 linux/amd64
)What operating system and processor architecture are you using (
go env
)?What did you do?
Playground
What did you expect to see?
No panic.
What did you see instead?
Panic.
The text was updated successfully, but these errors were encountered: