This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
--param documentation
- To: gcc-patches at gcc dot gnu dot org
- Subject: --param documentation
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 15 Feb 2001 10:29:45 -0800
- Organization: CodeSourcery, LLC
By popular demand, I've installed this patch on the mainline.
Tested on i686-pc-linux-gnu.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
2001-02-15 Mark Mitchell <mark@codesourcery.com>
* 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