------- Comment #3 from rguenth at gcc dot gnu dot org  2008-01-31 16:05 -------
I agree, just the switch will have different effects with different releases.
I will correct the documentation to something like

@item [EMAIL PROTECTED]
@opindex finline-limit
By default, GCC limits the size of functions that can be inlined.  This flag
allows coarse control of this limit.  @var{n} is the size of functions that
can be inlined in number of pseudo instructions. 

Inlining is actually controlled by a number of parameters, which may be
specified individually by using @option{--param @[EMAIL PROTECTED]
The @[EMAIL PROTECTED] option sets some of these parameters
as follows:

@table @gcctabopt
@item max-inline-insns-single
 is set to @var{n}/2.
@item max-inline-insns-auto
 is set to @var{n}/2.
@end table

See below for a documentation of the individual
parameters controlling inlining and for the defaults of these parameters.

@emph{Note:} there may be no value to @option{-finline-limit} that results
in default behavior.

@emph{Note:} pseudo instruction represents, in this particular context, an
abstract measurement of function's size.  In no way does it represent a count
of assembly instructions and as such its exact meaning might change from one
release to an another.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35042

Reply via email to