https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101459
--- Comment #5 from ashimida <ashimida at linux dot alibaba.com> --- (In reply to Andrew Pinski from comment #4) > (In reply to ashimida from comment #3) > > (In reply to Richard Biener from comment #2) > > > The flag, -falign-functions is only enabled at -O2+ (but not -Os), but the > > > actual alignment is recorded in the 'align_functions' data which is only > > > populated when -falign-functions is specified so I think it works as > > > documented. > > > > so I think this flag is also worked at -O0 > > I think you are misunderstanding the documentation. The documentation is > saying it is enabled by default at -O2 and above (but not -Os); not that it > will only work at -O2 and above. okey, now I understand, I have misunderstood this option, thank you very much!