This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

--param documentation

By popular demand, I've installed this patch on the mainline.

Tested on i686-pc-linux-gnu.

Mark Mitchell         
CodeSourcery, LLC     

2001-02-15  Mark Mitchell  <>

	* invoke.texi (--param): Document.

Index: invoke.texi
RCS file: /cvs/gcc/gcc/gcc/invoke.texi,v
retrieving revision 1.276
diff -c -p -r1.276 invoke.texi
*** invoke.texi	2001/02/14 23:16:12	1.276
--- invoke.texi	2001/02/15 18:20:15
*************** in the following sections.
*** 254,259 ****
--- 254,260 ----
  -fsingle-precision-constant  -fssa @gol
  -fstrength-reduce  -fstrict-aliasing  -fthread-jumps  -ftrapv @gol
  -funroll-all-loops  -funroll-loops  @gol
+ --param @var{name}=@var{value}
  -O  -O0  -O1  -O2  -O3  -Os}
  @item Preprocessor Options
*************** of registers left over after register al
*** 3261,3266 ****
--- 3262,3285 ----
  will most benefit processors with lots of registers.  It can, however,
  make debugging impossible, since variables will no longer stay in
  a ``home register''.
+ @item --param @var{name}=@var{value}
+ In some places, GCC uses various constants to control the amount of
+ optimization that is done.  For example, GCC will not inline functions
+ that contain more that a certain number of instructions.  You can
+ control some of these constants on the command-line using the
+ @samp{--param} option.  
+ In each case, the @var{value} is a integer.  The allowable choices for
+ @var{name} are given in the following table:
+ @table @gcctabopt
+ @item max-inline-insns
+ If an function contains more than this many instructions, it
+ will not be inlined.  This option is precisely equivalent to
+ @samp{-finline-limit}.
+ @end table
  @end table
  @node Preprocessor Options

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]