diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2017-10-31 15:34:56 -0700 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2017-10-31 15:34:56 -0700 |
commit | e17bd8df3fbd686fa0857b2e09d6e38c9fb6262c (patch) | |
tree | e5c385a8060cddda62009b9d4f979757c93bf1fb /src/codegen | |
parent | 7bc4f34ab6a1361ac7232a99da794873a3feaffc (diff) |
Unnamed bit-fields should not affect alignment
According to the x86[-64] ABI spec: "Unnamed bit-fields’ types do not affect the
alignment of a structure or union". This makes sense: such bit-fields are only
used for padding, and we can't perform an un-aligned read of something we can't
read because we can't even name it.
Fixes #1076
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions