This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-finline-functions default with -Os ?
- From: "Frédéric L. W. Meunier" <fredlwm at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 3 Jul 2010 18:14:56 -0300 (BRT)
- Subject: -finline-functions default with -Os ?
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 ?