aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-11-09 02:52:59 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2003-11-09 01:52:59 +0000
commitf7a018474dc63bd2256a7bfeec67b4252481601b (patch)
tree37bb338cdcb3d3cd3fe0a509334c421ed702478f
parentf10fe8f022ee410ffb1bf554770dc8f5fb4cf385 (diff)
downloadgcc-f7a018474dc63bd2256a7bfeec67b4252481601b.zip
gcc-f7a018474dc63bd2256a7bfeec67b4252481601b.tar.gz
gcc-f7a018474dc63bd2256a7bfeec67b4252481601b.tar.bz2
cgraphunit.c (cgraph_expand_function): Use cgraph_possibly_inlined_p.
* 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. From-SVN: r73382
-rw-r--r--gcc/ChangeLog11
-rw-r--r--gcc/doc/invoke.texi17
2 files changed, 12 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d045a70..16f6c62 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,14 @@
+2003-11-09 Jan Hubicka <jh@suse.cz>
+
+ * 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.
+
2003-11-08 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/3190
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index a1c2d0b..f2b53a9 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -3829,8 +3829,6 @@ The @option{-finline-limit=@var{n}} option sets some of these parameters
as follows:
@table @gcctabopt
- @item max-inline-insns
- is set to @var{n}.
@item max-inline-insns-single
is set to @var{n}/2.
@item max-inline-insns-auto
@@ -3841,8 +3839,7 @@ as follows:
is set to @var{n}.
@end table
-Using @option{-finline-limit=600} thus results in the default settings
-for these parameters. See below for a documentation of the individual
+See below for a documentation of the individual
parameters controlling inlining.
@emph{Note:} pseudo instruction represents, in this particular context, an
@@ -4776,17 +4773,6 @@ by the compiler will be investigated. To those functions, a different
be applied.
The default value is 150.
-@item max-inline-insns
-The tree inliner does decrease the allowable size for single functions
-to be inlined after we already inlined the number of instructions
-given here by repeated inlining. This number should be a factor of
-two or more larger than the single function limit.
-Higher numbers result in better runtime performance, but incur higher
-compile-time resource (CPU time, memory) requirements and result in
-larger binaries. Very high values are not advisable, as too large
-binaries may adversely affect runtime performance.
-The default value is 200.
-
@item large-function-insns
The limit specifying really large functions. For functions greater than this
limit inlining is constrained by @option{--param large-function-growth}.
@@ -4811,7 +4797,6 @@ 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.
-
@item 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