-
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
cmd/cgo: memcpy to &a[0] does not change array #30065
Labels
Milestone
Comments
@ianlancetaylor The anonymous function created for the first
That doesn't look right. Go 1.11 did:
Which looks correct. |
Change https://golang.org/cl/160830 mentions this issue: |
nebulabox
pushed a commit
to nebulabox/go
that referenced
this issue
Feb 18, 2019
Fixes golang#30065 Change-Id: I3d0fb03bab397548653d5f3b386cfe2980ac1030 Reviewed-on: https://go-review.googlesource.com/c/160830 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
nebulabox
pushed a commit
to nebulabox/go
that referenced
this issue
Feb 20, 2019
Fixes golang#30065 Change-Id: I3d0fb03bab397548653d5f3b386cfe2980ac1030 Reviewed-on: https://go-review.googlesource.com/c/160830 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Run the following snippet : https://play.golang.org/p/hQMcxNvQ29Y
What did you expect to see?
Works with 1.9, 1.10, 1.11 but fails since 1.12
What did you see instead?
The text was updated successfully, but these errors were encountered: