]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: don't copy a simple variable x in &x[0]
authorIan Lance Taylor <iant@golang.org>
Sun, 3 Feb 2019 00:03:28 +0000 (16:03 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 4 Feb 2019 06:53:49 +0000 (06:53 +0000)
commit3fc276ccf8c95a799c240905d35ad187abd34b20
treeab147019fa2f6b7de1cd6f1d8e6445e8a2a695c8
parent8f854244ad5165c4ef9aa5760316b13233514e06
cmd/cgo: don't copy a simple variable x in &x[0]

Fixes #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>
misc/cgo/test/cgo_test.go
misc/cgo/test/issue30065.go [new file with mode: 0644]
src/cmd/cgo/gcc.go