commit | b03c5dc36d6d0c0d3bef434936e8b924d253595b | [log] [tgz] |
---|---|---|
author | Tony Reix <tony.reix@bull.net> | Wed Oct 11 09:17:24 2017 +0200 |
committer | Ian Lance Taylor <iant@golang.org> | Thu Nov 09 21:56:26 2017 +0000 |
tree | d2cfbf15ec145d9a14752bb751869551cac71f1d | |
parent | 7fd845bd9414c348bfa30bd24aa0bb8e4eebf83a [diff] |
sync/atomic, runtime/internal/atomic: don't assume reads from 0 fail For a misaligned address force a panic rather than assuming that reading from the address 0 will cause one. Change-Id: I25f32be86120d6a4fd33db01f159c5fadac9674e Reviewed-on: https://go-review.googlesource.com/69850 Reviewed-by: Ian Lance Taylor <iant@golang.org>