Developer Guide and Reference

Contents

fomit-frame-pointer
, Oy

Determines whether EBP is used as a general-purpose register in optimizations.
Architecture Restrictions
Option
/Oy[-]
is only available on IA-32 architecture

Syntax

Linux:
-fomit-frame-pointer
-fno-omit-frame-pointer
macOS:
-fomit-frame-pointer
-fno-omit-frame-pointer
Windows:
/Oy
/Oy-
Arguments
None
Default
-fomit-frame-pointer
or
/Oy
EBP is used as a general-purpose register in optimizations. However, on Linux*
and
macOS*
systems, the default is
-fno-omit-frame-pointer
if option
-O0
or
-g
is specified.
On Windows* systems, the default is
/Oy-
if option
/Od
is specified.
Description
These options determine whether EBP is used as a general-purpose register in optimizations. Option
-fomit-frame-pointer
and option
/Oy
allows this use. Option
-fno-omit-frame-pointer
and option
/Oy-
disallows it.