Chapter 4. GCC Command Options
max-gcse-memory
The approximate maximum amount of memory that will be allocated in order to perform
the global common subexpression elimination optimization. If more memory than specified
is required, the optimization will not be done.
max-gcse-passes
The maximum number of passes of GCSE to run.
max-pending-list-length
The maximum number of pending dependencies scheduling will allow before flushing the
current state and starting over. Large functions with few branches or calls can create exces-
sively large lists which needlessly consume memory and resources.
max-inline-insns-single
Several parameters control the tree inliner used in gcc. This number sets the maximum
number of instructions (counted in GCC's internal representation) in a single function that
the tree inliner will consider for inlining. This only affects functions declared inline and
methods implemented in a class declaration (C++). The default value is 500.
max-inline-insns-auto
When you use
otherwise not be considered for inlining by the compiler will be investigated. To those func-
tions, a different (more restrictive) limit compared to functions declared inline can be ap-
plied. The default value is 100.
large-function-insns
The limit specifying really large functions. For functions greater than this limit inlining is
constrained by
avoid extreme compilation time caused by non-linear algorithms used by the backend. This
parameter is ignored when
large-function-growth
Specifies maximal growth of large function caused by inlining in percents. This parameter
is ignored when
inline-unit-growth
Specifies maximal overall growth of the compilation unit caused by inlining. This parameter
is ignored when
max-inline-insns-rtl
For languages that use the RTL inliner (this happens at a later stage than tree inlining), you
can set the maximum allowable size (counted in RTL instructions) for the RTL inliner with
this parameter. The default value is 600.
max-unrolled-insns
The maximum number of instructions that a loop should have if that loop is unrolled, and if
the loop is unrolled, it determines how many times the loop code is unrolled.
max-average-unrolled-insns
The maximum number of instructions biased by probabilities of their execution that a loop
should have if that loop is unrolled, and if the loop is unrolled, it determines how many
times the loop code is unrolled.
-finline-functions
-param large-function-growth
-funit-at-a-time
-funit-at-a-time
-funit-at-a-time
(included in
), a lot of functions that would
-O3
. This parameter is useful primarily to
is not used. The default value is 3000.
is not used. The default value is 200.
is not used. The default value is 150.
69
Need help?
Do you have a question about the ENTERPRISE LINUX 4 and is the answer not in the manual?
Questions and answers