http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56375
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jakub at gcc dot gnu.org Resolution| |INVALID --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-18 13:46:39 UTC --- User error, malloc doesn't guarantee sufficient alignment of the pointer, which you are relying on. You need to use posix_memalign or memalign or align it by hand yourself (allocate more for the padding).