]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/gc: fix initialization logic
authorKevin Vu <kevin.m.vu@gmail.com>
Mon, 4 Jan 2016 02:44:15 +0000 (18:44 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 6 Jan 2016 02:10:52 +0000 (02:10 +0000)
commitaaabe3d84988332ea26b84985a98b9d71a99cd71
tree862b5176b84e278a8efb00df01c92cdfd4de4548
parent7e24e89944310ed12b18a1eefd3776838f34ee15
cmd/compile/internal/gc: fix initialization logic

Also add relevant test.

Fixes #13343.

Change-Id: Ib1e65af1d643d501de89adee3618eddbf6c69c9e
Reviewed-on: https://go-review.googlesource.com/18159
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/sinit.go
test/fixedbugs/bug13343.go [new file with mode: 0644]