------- Comment #6 from pinskia at gcc dot gnu dot org 2007-02-01 23:04 ------- (In reply to comment #5) > (In reply to comment #4) > > This is really a glibc bug and needs to be fixed. The C standard says that > > malloc allocates that the right alignment so this is a glibc bug. > > The C standard does not cover SIMD instructions, so it is not a violation of > the C standard for malloc to return 8-byte aligned memory (which works fine > with all standard C code).
Well the C standard mentions there can be non standard integer types so that exists for x86_64, __int128_t which has normally aligned 16bytes so again this is a bug in glibc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24261