Search notes:
gcc -fomit-frame-pointer
Do not store the frame pointer in a register for functions that don't need it.
This option usually makes the executable smaller and sometimes faster at the cost of easy debuging with
gdb
.
See also
Compare with
-Os
which
optimizes
for size.
GCC options
Index