https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61588
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-05 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed with the latest trunk. The -Os documentation states: -Os disables the following optimization flags: -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-algorithm=stc -freorder-blocks-and-partition -fprefetch-loop-arrays Invoking "gcc -Os -Q --help=optimizers" to "to find out the exact set of optimizations that are enabled at [the given optimization] level" indicates that all the options are enabled: $ /build/gcc-trunk-svn/gcc/xgcc -B /build/gcc-trunk-svn/gcc -Os -o/dev/null -Q --help=optimizers | grep -E "[-]f(align-functions|align-jumps|align-loops|align-labels|reorder-blocks|reorder-blocks-algorithm|reorder-blocks-and-partition|prefetch-loop-arrays)" -falign-functions [enabled] -falign-jumps [enabled] -falign-labels [enabled] -falign-loops [enabled] -fprefetch-loop-arrays [enabled] -freorder-blocks [enabled] -freorder-blocks-algorithm= simple -freorder-blocks-and-partition [enabled]