https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64655
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 #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That is a user error. malloc doesn't guarantee bigger alignment than alignment of basic C types. If you need to allocate heap memory with bigger alignments, you need to use different allocation functions, like posix_memalign, memalign, aligned_alloc, valloc, pvalloc or mmap.