5.7.7.8 Align-functions Option

The -falign-functions=n option aligns the start of functions to the next power-of-two greater than n, skipping up to n bytes. For PIC32C/SAM devices, nmust not exceed 64.

For instance, -falign-functions=32 aligns functions to the next 32-byte boundary; -falign-functions=24 aligns functions to the next 32-byte boundary but only if this can be done by skipping no more than 23 bytes.

This option is automatically enabled at optimization levels -O2 and -O3.

The -fno-align-functions form of this option is equivalent to -falign-functions=1 and implies that functions are not aligned.

The -falign-functions form of this option (with no argument) performs no additional alignment other than the usual alignment by 4 for code using the ARM instruction set or by 2 for code using the Thumb instruction set.