]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] test: add test of pointer aliasing
authorTodd Neal <todd@tneal.org>
Mon, 22 Feb 2016 02:21:23 +0000 (20:21 -0600)
committerTodd Neal <todd@tneal.org>
Mon, 22 Feb 2016 03:40:16 +0000 (03:40 +0000)
commit4827c6d0778d93afeaee658a330d97b8f1b510a6
tree113f1c111115ee17ac4baf33e6f8b2ca6cc90ff2
parent5949524fc48aa514154cfb939ae28af58aaf6540
[dev.ssa] test: add test of pointer aliasing

This adds a test case with aliased pointers to ensure modifications to
dse don't remove valid stores.

Change-Id: I143653250f46a403835218ec685bcd336d5087ef
Reviewed-on: https://go-review.googlesource.com/19795
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/testdata/unsafe_ssa.go