50
max-inline-insns-auto
is set to
/2.
n
min-inline-insns
is set to 130 or
max-inline-insns-rtl
is set to
.
n
Using
-finline-limit=600
for a documentation of the individual parameters controlling inlining.
Note: pseudo instruction represents, in this particular context, an abstract measurement of func-
tion's size. In no way, it represents a count of assembly instructions and as such its exact meaning
might change from one release to an another.
-fkeep-inline-functions
Even if all calls to a given function are integrated, and the function is declared
ertheless output a separate run-time callable version of the function. This switch does not affect
extern inline
-fkeep-static-consts
Emit variables declared
aren't referenced.
GCC enables this option by default. If you want to force the compiler to check if the
variable was referenced, regardless of whether or not optimization is turned on, use the
-fno-keep-static-consts
-fmerge-constants
Attempt to merge identical constants (string constants and floating point constants) across com-
pilation units.
This option is the default for optimized compilation if the assembler and linker support it. Use
-fno-merge-constants
Enabled at levels
-fmerge-all-constants
Attempt to merge identical constants and identical variables.
This option implies
ers for example, even constant initialized arrays or initialized constant variables with integral
or floating point types. Languages like C or C++ require each non-automatic variable to have
distinct location, so using this option will result in non-conforming behavior.
-fnew-ra
Use a graph coloring register allocator. Currently this option is meant for testing, so we are
interested to hear about miscompilations with
-fno-branch-count-reg
Do not use "decrement and branch" instructions on a count register, but instead generate a
sequence of instructions that decrement a register, compare it against zero, then branch based
upon the result. This option is only meaningful on architectures that support such instructions,
which include x86, PowerPC, IA-64 and S/390.
/4, whichever is smaller.
n
thus results in the default settings for these parameters. See below
functions.
static const
option.
to inhibit this behavior.
,
,
,
.
-O
-O2
-O3
-Os
-fmerge-constants
Chapter 4. GCC Command Options
when optimization isn't turned on, even if the variables
. In addition to
-fmerge-constants
.
-fnew-ra
, nev-
static
this consid-
Need help?
Do you have a question about the ENTERPRISE LINUX 3 - USING GCC and is the answer not in the manual?
Questions and answers