aboutsummaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2018-02-12 10:48:06 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2018-02-12 09:48:06 +0000
commitb9aba9fde536dc3e0293653509f530322ee2753e (patch)
tree391970e14e69d07fc50d2a3537089c09d6f7aff3 /gcc/params.def
parent85c5e2f576fd41e1ab5620cde3c63b3ca6673bea (diff)
downloadgcc-b9aba9fde536dc3e0293653509f530322ee2753e.zip
gcc-b9aba9fde536dc3e0293653509f530322ee2753e.tar.gz
gcc-b9aba9fde536dc3e0293653509f530322ee2753e.tar.bz2
re PR middle-end/83665 (Big code size regression and some code quality improvement at Jan 2 2018)
PR middle-end/83665 * params.def (inline-min-speedup): Increase from 8 to 15. (max-inline-insns-auto): Decrease from 40 to 30. * ipa-split.c (consider_split): Add some buffer for function to be considered inlining candidate. * invoke.texi (max-inline-insns-auto, inline-min-speedup): UPdate default values. From-SVN: r257582
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/params.def b/gcc/params.def
index 930b318..e333679 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -52,13 +52,13 @@ DEFPARAM (PARAM_PREDICTABLE_BRANCH_OUTCOME,
DEFPARAM (PARAM_INLINE_MIN_SPEEDUP,
"inline-min-speedup",
"The minimal estimated speedup allowing inliner to ignore inline-insns-single and inline-insns-auto.",
- 8, 0, 0)
+ 15, 0, 0)
/* The single function inlining limit. This is the maximum size
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 450.
+ The default value is 400.
Only functions marked inline (or methods defined in the class
definition for C++) are affected by this.
There are more restrictions to inlining: If inlined functions
@@ -77,11 +77,11 @@ 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 40. */
+ The default value is 30. */
DEFPARAM (PARAM_MAX_INLINE_INSNS_AUTO,
"max-inline-insns-auto",
"The maximum number of instructions when automatically inlining.",
- 40, 0, 0)
+ 30, 0, 0)
DEFPARAM (PARAM_MAX_INLINE_INSNS_RECURSIVE,
"max-inline-insns-recursive",