aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2006-05-26 20:04:14 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2006-05-26 20:04:14 +0000
commit079c35fabd59f10bb202a03f45e008bed314feab (patch)
tree0a7133d27bb78c952fe5caa091a7d4b1c884913a /gcc/doc
parentcd881e6944d05fef5e5d3c2022ef5bdcc2b50d00 (diff)
downloadgcc-079c35fabd59f10bb202a03f45e008bed314feab.zip
gcc-079c35fabd59f10bb202a03f45e008bed314feab.tar.gz
gcc-079c35fabd59f10bb202a03f45e008bed314feab.tar.bz2
invoke.texi (Optimize Options): Document that -funit-at-a-time is enabled at -O and above.
* doc/invoke.texi (Optimize Options): Document that -funit-at-a-time is enabled at -O and above. From-SVN: r114140
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index ab18b41..8a500dd 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -4319,7 +4319,7 @@ the performance and/or code size at the expense of compilation time
and possibly the ability to debug the program.
The compiler performs optimization based on the knowledge it has of
-the program. Optimization levels @option{-O2} and above, in
+the program. Optimization levels @option{-O} and above, in
particular, enable @emph{unit-at-a-time} mode, which allows the
compiler to consider information gained from later functions in
the file when compiling a function. Compiling multiple files at
@@ -4360,6 +4360,7 @@ compilation time.
-ftree-copyrename @gol
-ftree-fre @gol
-ftree-ch @gol
+-funit-at-a-time @gol
-fmerge-constants}
@option{-O} also turns on @option{-fomit-frame-pointer} on machines
@@ -4395,7 +4396,6 @@ also turns on the following optimization flags:
-fstrict-aliasing @gol
-fdelete-null-pointer-checks @gol
-freorder-blocks -freorder-functions @gol
--funit-at-a-time @gol
-falign-functions -falign-jumps @gol
-falign-loops -falign-labels @gol
-ftree-vrp @gol
@@ -5343,7 +5343,7 @@ attribute @code{used} will prevent this behavior.
As a temporary workaround, @option{-fno-unit-at-a-time} can be used,
but this scheme may not be supported by future releases of GCC@.
-Enabled at levels @option{-O2}, @option{-O3}.
+Enabled at levels @option{-O}, @option{-O2}, @option{-O3}, @option{-Os}.
@item -fweb
@opindex fweb