This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: m68k structure packing
- To: mrs at wrs dot com (Mike Stump)
- Subject: Re: m68k structure packing
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Tue, 30 Sep 1997 19:57:52 -0700
- cc: egcs at cygnus dot com
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