From: Martin Liska Date: Wed, 20 Jul 2016 07:02:09 +0000 (+0200) Subject: Enhance documentation of -fipa-ra option. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e6fa605f8977ecfbf6a37239f99f2925e89685e;p=gcc.git Enhance documentation of -fipa-ra option. * doc/invoke.texi (-fipa-ra): Document when the option is disabled. Fix a typo. From-SVN: r238510 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c6a3d6b62ca..82a473794e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-07-20 Martin Liska + + * doc/invoke.texi (-fipa-ra): Document when the option is + disabled. Fix a typo. + 2016-07-20 Martin Liska * Makefile.in: Include fibonacci_heap.c diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 9a4db388a3b..4435f5491ed 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -7260,7 +7260,11 @@ any called function. In that case it is not necessary to save and restore them around calls. This is only possible if called functions are part of same compilation unit as current function and they are compiled before it. -Enabled at levels @option{-O2}, @option{-O3}, @option{-Os}. +Enabled at levels @option{-O2}, @option{-O3}, @option{-Os}, however the option +is disabled if generated code will be instrumented for profiling +(@option{-p}, or @option{-pg}) or if callee's register usage cannot be known +exactly (this happens on targets that do not expose prologues +and epilogues in RTL). @item -fconserve-stack @opindex fconserve-stack @@ -7280,7 +7284,7 @@ Perform code hoisting. Code hoisting tries to move the evaluation of expressions executed on all paths to the function exit as early as possible. This is especially useful as a code size optimization, but it often helps for code speed as well. -This flag is enabled by defailt at @option{-O2} and higher. +This flag is enabled by default at @option{-O2} and higher. @item -ftree-pre @opindex ftree-pre