https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64798
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- __BIGGEST_ALIGNMENT__ is unnecessarily large, e.g. on i?86-linux, it is 16, while you only need to guarantee 8-byte alignment. Isn't the bug just in the badalloc1.C testcase, if it provides its own malloc, it should IMHO guarantee the system malloc alignments (generally, something like alignment of union U { long long ll; double d; long double ld; void *p; }; .