------- Comment #6 from rguenth at gcc dot gnu dot org 2008-08-13 22:05 ------- struct X { uint32_t a:17; uint8_t b:8; uint8_t c:1; } __attribute__((packed));
brings it down to 5 bytes .... (we seem to never pack chars with other types) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37119