]> Cypherpunks repositories - gostls13.git/commit
internal/runtime/atomic: fix TestAnd64 and TestOr64
authorEgon Elbre <egonelbre@gmail.com>
Sat, 27 Apr 2024 09:37:53 +0000 (12:37 +0300)
committerAlex Brainman <alex.brainman@gmail.com>
Sat, 27 Apr 2024 20:49:32 +0000 (20:49 +0000)
commit99ee616250e865ca8eff8a91bef3824038b411f1
treeb98a671dc8e267b6b6dc33f904c3780c03a22a91
parent644a4ff333210f08b23e17139eef4093a5fd882c
internal/runtime/atomic: fix TestAnd64 and TestOr64

The local variable may not be 64bit aligned, which caused arm tests
to fail.

Fixes #67077

Change-Id: Ia3ae4abcc90319cb10cd593bdc7994cc6eeb3a28
Reviewed-on: https://go-review.googlesource.com/c/go/+/581916
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
src/internal/runtime/atomic/atomic_andor_test.go