]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: when comparing 0-size types, make sure expr side-effects survive
authorKeith Randall <khr@google.com>
Tue, 30 Oct 2018 00:02:42 +0000 (17:02 -0700)
committerKeith Randall <khr@golang.org>
Tue, 30 Oct 2018 17:45:19 +0000 (17:45 +0000)
commitf14067f3c10e15343f29aed439ff60af856eb323
treeca12557f2c38befde553eeebdbe9ae7b0a38bedc
parent5168fcf63f5001b38f9ac64ce5c5e3c2d397363d
cmd/compile: when comparing 0-size types, make sure expr side-effects survive

Fixes #23837

Change-Id: I53f524d87946a0065f28a4ddbe47b40f2b43c459
Reviewed-on: https://go-review.googlesource.com/c/145757
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/walk.go
test/fixedbugs/issue23837.go [new file with mode: 0644]