gcc/libgo/go/sync
Ian Lance Taylor 73fe55d752 re PR go/89199 (libgo regression in implementation of CompareAndSwap functions resulting in intermittent testcase failures on ppc64le power9 after r268458)
PR go/89199
    sync/atomic: use strong form of atomic_compare_exchange_n
    
    In the recent change to use atomic_compare_exchange_n I thought we
    could use the weak form, which can spuriously fail. But that is not
    how it is implemented in the gc library, and it is not what the rest
    of the library expects.
    
    Thanks to Lynn Boger for identifying the problem.
    
    Fixes https://gcc.gnu.org/PR89199
    
    Reviewed-on: https://go-review.googlesource.com/c/161359

From-SVN: r268591
2019-02-06 20:46:00 +00:00
..
atomic re PR go/89199 (libgo regression in implementation of CompareAndSwap functions resulting in intermittent testcase failures on ppc64le power9 after r268458) 2019-02-06 20:46:00 +00:00
cond_test.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
cond.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
example_pool_test.go
example_test.go
export_test.go
map_bench_test.go
map_reference_test.go
map_test.go
map.go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
mutex_test.go
mutex.go
once_test.go
once.go
pool_test.go
pool.go
runtime_sema_test.go
runtime.go libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
rwmutex_test.go
rwmutex.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
waitgroup_test.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00
waitgroup.go libgo: update to Go 1.11 2018-09-24 21:46:21 +00:00