2010/7/3 Frédéric L. W. Meunier <fred...@gmail.com>: > 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 ?
Yes, it should say "Enabled at levels -O3 and -Os". > 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 ? I do not see align-loops set, and -freorder-blocks is definitely not in. If -ftree-vect-loop-version is in, that would be a bug. What target are you looking at, and what are you looking at that suggests these options are enabled? > As I see, -O2 to -Os only adds -finline-functions and removes > -maccumulate-outgoing-args ? No, also some parameters for heuristics take different default values. Ciao! Steven