http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56375
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-02-18 16:04:49 UTC --- (In reply to comment #1) > 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). Actually it does but that is an open question for the glibc list or where ever the supplied malloc is from.