https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88345
Michael Matz <matz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matz at gcc dot gnu.org --- Comment #16 from Michael Matz <matz at gcc dot gnu.org> --- I think -falign-functions=N should simply override any consideration of -Os or coldness or suchlike. Clearly the explicit use of such option is by some intention of the compiler user, and as the compiler can't know _what_ exactly is intended it needs to assume that the alignment needs to hold for all functions. Richis proposal would of course work, but seems a rather awkward workaround for behaviour that actually is surprising.