Here, -finline-functions appears to be the default using -Os with GCC 4.4.4 on Linux (tested with k8-sse3 and 486).

But according to the man page, "Enabled at level -O3". Does the manual need a fix ?

The info page also states -Os disables

"-falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays -ftree-vect-loop-version"

but -falign-loops -freorder-blocks -ftree-vect-loop-version seem to be in.

Or all these vary by processor ?

As I see, -O2 to -Os only adds -finline-functions and removes -maccumulate-outgoing-args ?

Reply via email to