[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used
chrbr at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 28 13:37:00 GMT 2015
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.
More information about the Gcc-bugs
mailing list