re PR go/84215 (Random results in go/libgo tests)
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 12 Feb 2018 18:50:16 +0000 (18:50 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 12 Feb 2018 18:50:16 +0000 (18:50 +0000)
commit86ff185365dbc40b64f907be9e2f35d756776e20
tree578d5adc5ed91aadca2a5f5059f17c7211a8d514
parent966a140df68bf3e2d378fb9b68a8afb7d80b34d6
re PR go/84215 (Random results in go/libgo tests)

PR go/84215
    runtime, sync/atomic: use write barrier for atomic pointer functions

    This copies atomic_pointer.go from 1.10rc2.  It was omitted during the
    transition of the runtime from C to Go, and I forgot about it.

    This may help with https://gcc.gnu.org/PR84215.

    Reviewed-on: https://go-review.googlesource.com/93197

From-SVN: r257599
gcc/go/gofrontend/MERGE
libgo/go/runtime/atomic_pointer.go [new file with mode: 0644]
libgo/go/runtime/stubs.go
libgo/go/sync/atomic/atomic.c