aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2012-11-08 17:46:18 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2012-11-08 16:46:18 +0000
commit42f7b0fa26c75f33090cf515c9f849c528ebca84 (patch)
treec2cbdda2703ae2ef2cd29bf2ad23bf0a190b8d81 /gcc/doc
parent774b8a558c2fbfe0b472c814d582c8540102a17c (diff)
downloadgcc-42f7b0fa26c75f33090cf515c9f849c528ebca84.zip
gcc-42f7b0fa26c75f33090cf515c9f849c528ebca84.tar.gz
gcc-42f7b0fa26c75f33090cf515c9f849c528ebca84.tar.bz2
re PR fortran/48636 (Enable more inlining with -O2 and higher)
PR middle-end/48636 * ipa-inline.c (big_speedup_p): New function. (want_inline_small_function_p): Use it. (edge_badness): Dump it. * params.def (inline-min-speedup): New parameter. * doc/invoke.texi (inline-min-speedup): Document. From-SVN: r193331
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index f6d3a58..715f60a 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -8945,6 +8945,12 @@ by the compiler are investigated. To those functions, a different
be applied.
The default value is 40.
+@item inline-min-speedup
+When estimated performance improvement of caller + callee runtime exceeds this
+threshold (in precent), the function can be inlined regardless the limit on
+@option{--param max-inline-insns-single} and @option{--param
+max-inline-insns-auto}.
+
@item large-function-insns
The limit specifying really large functions. For functions larger than this
limit after inlining, inlining is constrained by