https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96247
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- There is an interplay between -falign-functions and the aligned function attribute so changes to one (either the implementation or the documentation) should be reviewed for an impact on the other and vice versa. Attribute aligned is documented to require "an integer constant power of 2," with other values, including zero, being ignored with a warning. Keeping the option in sync with the attribute (and warning on the same set on invalid arguments) seems like a good approach to me.