From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: mrs@wrs.com (Mike Stump) Cc: wilson@cygnus.com, egcs@cygnus.com Subject: Re: m68k structure packing Date: Tue, 30 Sep 1997 22:03:00 -0000 Message-id: <2824.875682348@hurl.cygnus.com> References: <199710010315.UAA28203@kankakee.wrs.com> X-SW-Source: 1997-09/msg01180.html In message < 199710010315.UAA28203@kankakee.wrs.com >you write: > Don't know how. All I can do it try a couple of testcases that should > expose the tricky parts, I have done that. Read the docs for PCC_BITFIELD_MATTERS. It describes a very particular problem (bitfields crossing certain alignment boundaries). It even includes code which attempts to set up this situation; so you can compile that sample code with -m68000. Then look at the resulting output and verify that you don't have any unaligned loads/stores. Doesn't seem all that hard to me. I think if you do that and can show Jim that it works then you'll both be happy. jeff