aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-02-09 23:51:44 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2007-02-09 22:51:44 +0000
commitd562c6687f3a10bdf8f1af45df89991972fc4092 (patch)
treeb713d726145cfd91f6b37025e722ae7fee3c0f8f
parent45a80bb9e800503749c797d4c57a4b6829ca9bf7 (diff)
downloadgcc-d562c6687f3a10bdf8f1af45df89991972fc4092.zip
gcc-d562c6687f3a10bdf8f1af45df89991972fc4092.tar.gz
gcc-d562c6687f3a10bdf8f1af45df89991972fc4092.tar.bz2
params.def (PARAM_INLINE_UNIT_GROWTH): Set to 30.
* params.def (PARAM_INLINE_UNIT_GROWTH): Set to 30. * doc/invoke.texi (inline-unit-growth): Update default value. From-SVN: r121781
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/doc/invoke.texi2
-rw-r--r--gcc/params.def2
3 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f923845..812379a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2007-02-09 Jan Hubicka <jh@suse.cz>
+ * params.def (PARAM_INLINE_UNIT_GROWTH): Set to 30.
+ * doc/invoke.texi (inline-unit-growth): Update default value.
+
* Makefile.in (passes.o, ipa-inline.o): Add dependencies.
* cgraphbuild.c (build_cgraph_edges): Compute frequencies.
(rebuild_cgraph_edges): Likewise.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index cae7f8b..b084d68 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -6159,7 +6159,7 @@ before applying @option{--param inline-unit-growth}. The default is 10000
@item inline-unit-growth
Specifies maximal overall growth of the compilation unit caused by inlining.
This parameter is ignored when @option{-funit-at-a-time} is not used.
-The default value is 60 which limits unit growth to 1.6 times the original
+The default value is 30 which limits unit growth to 1.3 times the original
size.
@item large-stack-frame
diff --git a/gcc/params.def b/gcc/params.def
index c4f7229..e583025 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -199,7 +199,7 @@ DEFPARAM(PARAM_LARGE_UNIT_INSNS,
DEFPARAM(PARAM_INLINE_UNIT_GROWTH,
"inline-unit-growth",
"how much can given compilation unit grow because of the inlining (in percent)",
- 60, 0, 0)
+ 30, 0, 0)
DEFPARAM(PARAM_INLINE_CALL_COST,
"inline-call-cost",
"expense of call operation relative to ordinary arithmetic operations",