]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: allow unsafe.Pointer(nil) as static data
authorKeith Randall <khr@golang.org>
Fri, 8 Jul 2016 22:59:00 +0000 (15:59 -0700)
committerKeith Randall <khr@golang.org>
Tue, 16 Aug 2016 17:47:50 +0000 (17:47 +0000)
commit64214792e214bbacb8c00ffea92a7131e30fa59e
tree589162da4fb7c82d8a74a936adff53c62782c8e4
parent9d2b988e4aeb59424411a314748aa8ffd1e71033
cmd/compile: allow unsafe.Pointer(nil) as static data

Fixes #16306

Change-Id: If8e2f411fe9a5a5c198f10765fee7261ba8feaf2
Reviewed-on: https://go-review.googlesource.com/24836
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/gc/sinit.go
test/fixedbugs/issue16306.go [new file with mode: 0644]