https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745
--- Comment #3 from chrbr at gcc dot gnu.org --- another example that gives suboptimal alignment: void __attribute__ ((optimize("Os"))) foo() { } compiled with -O2 -mthumb is aligned on 2^2 instead of 2^1. -Os should remove padding here.