m68k structure packing

Jim Wilson wilson@cygnus.com
Tue Sep 30 19:58:00 GMT 1997


Thinking about this some more, I am not sure that my assumptions are right.

Gcc knows that it needs to access bitfields differently when a structure
is packed.  It may be that gcc will generate correct code with your patch
for cases that would ordinarily fail (as per the PCC_BITFIELD_TYPE_MATTERS
documentation) because the structure is marked as packed.  Can you please
check?

Jim



More information about the Gcc mailing list