From 6e6fa605f8977ecfbf6a37239f99f2925e89685e Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 20 Jul 2016 09:02:09 +0200 Subject: [PATCH] Enhance documentation of -fipa-ra option. * doc/invoke.texi (-fipa-ra): Document when the option is disabled. Fix a typo. From-SVN: r238510 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) 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 -- 2.30.2