summaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-09 02:37:54 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-09 02:37:54 +0000
commitc6808e0ce438c903f62acd843bd732a989aa428e (patch)
tree1bfc19289d3c7307bd622bf5f3e65c6a3e3dea23 /gcc/params.def
parentd0e81fead8840531bcf73c86344bf4a50a75d9dd (diff)
downloadgcc-c6808e0ce438c903f62acd843bd732a989aa428e.tar.gz
* cgraphunit.c (cgraph_expand_function): Use
cgraph_possibly_inlined_p. * tree-optimize.c (tree_rest_of_compilation): Do not kill saved tree. * opts.c (common_handle_option): Do not set max-inline-insns. * params.def: Update comments. (PARAM_MAX_INLINE_INSNS): Kill. * invoke.texi (max-inline-insns): Kill. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73384 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def23
1 files changed, 2 insertions, 21 deletions
diff --git a/gcc/params.def b/gcc/params.def
index b08603b1f29..d665ad57ba4 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -39,7 +39,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
of a function counted in internal gcc instructions (not in
real machine instructions) that is eligible for inlining
by the tree inliner.
- The default value is 100.
+ The default value is 500.
Only functions marked inline (or methods defined in the class
definition for C++) are affected by this, unless you set the
-finline-functions (included in -O3) compiler option.
@@ -59,31 +59,12 @@ DEFPARAM (PARAM_MAX_INLINE_INSNS_SINGLE,
that is applied to functions marked inlined (or defined in the
class declaration in C++) given by the "max-inline-insns-single"
parameter.
- The default value is 100. */
+ The default value is 150. */
DEFPARAM (PARAM_MAX_INLINE_INSNS_AUTO,
"max-inline-insns-auto",
"The maximum number of instructions when automatically inlining",
150)
-/* The repeated inlining limit. After this number of instructions
- (in the internal gcc representation, not real machine instructions)
- got inlined by repeated inlining, gcc starts to decrease the maximum
- number of inlinable instructions in the tree inliner.
- This is done by a linear function, see "max-inline-slope" parameter.
- It is necessary in order to limit the compile-time resources, that
- could otherwise become very high.
- It is recommended to set this value to twice the value of the single
- function limit (set by the "max-inline-insns-single" parameter) or
- higher. The default value is 200.
- Higher values mean that more inlining is done, resulting in
- better performance of the code, at the expense of higher
- compile-time resource (time, memory) requirements and larger
- binaries. */
-DEFPARAM (PARAM_MAX_INLINE_INSNS,
- "max-inline-insns",
- "The maximum number of instructions by repeated inlining before gcc starts to throttle inlining",
- 200)
-
/* For languages that (still) use the RTL inliner, we can specify
limits for the RTL inliner separately.
The parameter here defines the maximum number of RTL instructions