On 2006-09-12, Grant Edwards <gra...@visi.com> wrote:

> My program is broken because mspgcc 3.2.3 is generating
> unaligned word accesses.  I'm calling memset() and memcpy()
> fill in the fields in a packed struct.  Since I've requested a
> 2-byte copy/set mspgcc is optimizing some of those memset() and
> memcpy() calls into mov.w instructions, but the destination
> address isn't word aligned, so the generated code is not
> correct.

It appears to be doing the same thing for 4-byte memcpy()
operations. :(

-- 
Grant Edwards                   grante             Yow!  Gibble, Gobble, we
                                  at               ACCEPT YOU...
                               visi.com            


Reply via email to