diff options
| author | Keith Randall <khr@golang.org> | 2023-07-08 08:46:37 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2023-07-10 16:29:42 +0000 |
| commit | c4db811e44662fe59233e4445c5dc001579f1243 (patch) | |
| tree | 08ed101b2d7b1db3d5205c59abff47a0d9f5c21f /src/os/exec/exec_test.go | |
| parent | 5c154986094bcc2fb28909cc5f01c9ba1dd9ddd4 (diff) | |
| download | go-c4db811e44662fe59233e4445c5dc001579f1243.tar.xz | |
cmd/compile: don't ICE on unaligned offsets for pointer writes
User code is unlikely to be correct, but don't crash the compiler
when the offset of a pointer in an object is not a multiple of the
pointer size.
Fixes #61187
Change-Id: Ie56bfcb38556c5dd6f702ae4ec1d4534c6acd420
Reviewed-on: https://go-review.googlesource.com/c/go/+/508555
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/os/exec/exec_test.go')
0 files changed, 0 insertions, 0 deletions
