diff options
| author | Keith Randall <khr@golang.org> | 2025-04-04 13:05:23 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2025-04-04 23:25:15 -0700 |
| commit | 1647896aa227d8546de3dbe70a5049eecee964e3 (patch) | |
| tree | 87e6e07fd943abb38367e00e6c550570792f35a7 /src/runtime | |
| parent | e373771490bab84449c7981a6be84e995de1ae80 (diff) | |
| download | go-1647896aa227d8546de3dbe70a5049eecee964e3.tar.xz | |
cmd/compile: on 32-bit, bump up align for values that may contain 64-bit fields
On 32-bit systems, these need to be aligned to 8 bytes, even though the
typechecker doesn't tell us that.
The 64-bit allocations might be the target of atomic operations
that require 64-bit alignment.
Fixes 386 longtest builder.
Fixes #73173
Change-Id: I68f6a4f40c7051d29c57ecd560c8d920876a56a6
Reviewed-on: https://go-review.googlesource.com/c/go/+/663015
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
