m68k structure packing

Mike Stump mrs@wrs.com
Tue Sep 30 20:16:00 GMT 1997


> Date: Tue, 30 Sep 1997 19:57:52 -0700
> From: Jim Wilson <wilson@cygnus.com>

> It may be that gcc will generate correct code with your patch
> [ ... ] because the structure is marked as packed.  Can you please
> check?

Don't know how.  All I can do it try a couple of testcases that should
expose the tricky parts, I have done that.  The code works flawlessly.
Storing a bitfield, loading from a bitfield, incing a bitfield....
a long long bitfield, an int bitfield...  I cannot get it to fail,
therefore I cannot fix it.  My working assumption is there are
no bugs.

If we find one, I know how to fix it, but I just need a pointer to
the failure.  I have generally reviewed the code, and it all seems
reasonable.



More information about the Gcc mailing list