Commit 2414e1f
committed
cmd/compile: make sure field offset is aligned for structure splitting
Always use the aligned form -- the old code sometimes could
at least nominally use a misaligned field in an SSA-able struct,
even if not actually.
Fixes #42181.
Change-Id: Ibdce0985f9349da70921a37423054b85ee4200d0
Reviewed-on: https://go-review.googlesource.com/c/go/+/265277
Reviewed-by: Than McIntosh <[email protected]>
Reviewed-by: Cherry Zhang <[email protected]>
Trust: David Chase <[email protected]>1 parent 7be9158 commit 2414e1f
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6978 | 6978 | | |
6979 | 6979 | | |
6980 | 6980 | | |
6981 | | - | |
6982 | | - | |
6983 | | - | |
6984 | | - | |
6985 | | - | |
6986 | 6981 | | |
6987 | 6982 | | |
6988 | 6983 | | |
6989 | | - | |
| 6984 | + | |
6990 | 6985 | | |
6991 | 6986 | | |
6992 | 6987 | | |
| |||
0 commit comments