https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91306
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Also the patch is still needed. Try with one than one entry and you will see the issue. The patch is not to workaround a GCC bug but rather enforce a smaller alignment than what GCC decides to use. >but the expected alignment of a pointer is 2 bytes. If that is true, then maybe alignof should be used instead of sizeof. Can you try alignof (__alignof__)?