On 2008-02-13, Oleg Verych <[email protected]> wrote:
> Grant Edwards @ Wed, 13 Feb 2008 18:55:32 +0000 (UTC)
>>
>> On 2008-02-13, Oleg Verych <[email protected]> wrote:
>>
>>> Alignment of members as well as whole structure is arbitrary. That's why
>>> mspgcc have "packed" attribute, but it's without (implicit for many
>>> developers) magic.
>>
>> Are you saying tht the MSP430 backend gcc does not correctly
>> generate code to access misaligned struct members the way that
>> other backends (e.g. ARM) do?
>
> Based on what i've saw in this thread -- yes.
If that's the case, it might need to be spelled out a little
more clearly in the manual. It wasn't clear to me that the web
page mentioned earlier was saying that. That web page seemed
to be talking about peripheral registers.
--
Grant Edwards grante Yow! I brought my BOWLING
at BALL -- and some DRUGS!!
visi.com