http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46644
--- Comment #3 from Emmanuel Blot <eblot.ml at gmail dot com> 2010-11-24 23:53:35 UTC --- The code that triggered the original error is a bit more complex: struct st { uint16_t x; uint16_t y; // ... }; ... st * s; for some reason, s is not aligned (comes from a third party library) memcpy is called this way: uint16_t value = 0; memcpy(&s->x, &value, sizeof(uint16_t)); what would be the proper fix (struct st cannot be modified)? Casting &s->x to (void *)? Thanks.