- If you specify option-fomit-frame-pointer(or it is set by default), the default is-momit-leaf-frame-pointer. If you specify option-fno-omit-frame-pointer, the default is-mno-omit-leaf-frame-pointer.
Both combinations are the same as specifying
-fomit-frame-pointer. Frame pointers are omitted for all routines.
In this case, the frame pointer is omitted for leaf routines, but other routines will keep the frame pointer.
This is the intended effect of option
In this case,
-mno-omit-leaf-frame-pointeris ignored since
-fno-omit-frame-pointerretains frame pointers in all routines .
This combination is the same as specifying