aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2016-07-20 09:02:09 +0200
committerMartin Liska <marxin@gcc.gnu.org>2016-07-20 07:02:09 +0000
commit6e6fa605f8977ecfbf6a37239f99f2925e89685e (patch)
treee436b84409e7c5860fcd39188039552301b79c70 /gcc
parentba1a7a0f859c5c3e2998a89a0b9f78198f328a94 (diff)
downloadgcc-6e6fa605f8977ecfbf6a37239f99f2925e89685e.zip
gcc-6e6fa605f8977ecfbf6a37239f99f2925e89685e.tar.gz
gcc-6e6fa605f8977ecfbf6a37239f99f2925e89685e.tar.bz2
Enhance documentation of -fipa-ra option.
* doc/invoke.texi (-fipa-ra): Document when the option is disabled. Fix a typo. From-SVN: r238510
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi8
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c6a3d6b..82a4737 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2016-07-20 Martin Liska <mliska@suse.cz>
+ * doc/invoke.texi (-fipa-ra): Document when the option is
+ disabled. Fix a typo.
+
+2016-07-20 Martin Liska <mliska@suse.cz>
+
* Makefile.in: Include fibonacci_heap.c
* fibonacci_heap.c: New file.
* fibonacci_heap.h (fibonacci_heap::insert): Use insert_node.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 9a4db38..4435f54 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