diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-05-19 19:08:57 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-05-19 19:08:57 -0700 |
commit | 7aaa45187b87573080e92671336ed623f02428a8 (patch) | |
tree | c3aca4f96bf17c7825004bd562fb6862b0bfa9b1 /stdlib/path-test.tl | |
parent | 312166cc7e31ba6a45babcf49a9e22e892ddfd45 (diff) | |
download | txr-7aaa45187b87573080e92671336ed623f02428a8.tar.gz txr-7aaa45187b87573080e92671336ed623f02428a8.tar.bz2 txr-7aaa45187b87573080e92671336ed623f02428a8.zip |
ffi: bugfix: transition between bitfield cell sizes.
* ffi.c (make_ffi_type_struct): When a bitfield is declared for
a type whose alignment is different from that of the previous
member, then we start the new bitfield on a fresh alignment.
As usual, if the previous member is a bitfield which left a
partially filled byte, we skip to the next byte and then do the
alignment. This seems to match GCC behavior.
Diffstat (limited to 'stdlib/path-test.tl')
0 files changed, 0 insertions, 0 deletions