diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2009-02-12 10:57:59 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2009-02-12 10:57:59 +0000 |
commit | 28c11eb39b17d2c0a9eca41e69af9777ee8cdd60 (patch) | |
tree | 6ce4a6f45a2825e959cdd2a0b0c240363873c7f5 | |
parent | c7b94907e4fe89aed97cc5f9ffcbe56696d72923 (diff) | |
download | gcc-28c11eb39b17d2c0a9eca41e69af9777ee8cdd60.zip gcc-28c11eb39b17d2c0a9eca41e69af9777ee8cdd60.tar.gz gcc-28c11eb39b17d2c0a9eca41e69af9777ee8cdd60.tar.bz2 |
invoke.texi (Optimize Options): Stop claiming inlining and loop unrolling do not happen at -O2.
* doc/invoke.texi (Optimize Options): Stop claiming inlining and
loop unrolling do not happen at -O2.
From-SVN: r144123
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2ad904d..d0f7127 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-02-12 Nathan Sidwell <nathan@codesourcery.com> + + * doc/invoke.texi (Optimize Options): Stop claiming inlining and + loop unrolling do not happen at -O2. + 2009-02-12 Michael Matz <matz@suse.de> * gcc.c (ASM_DEBUG_SPEC): Check for -g0. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index fb67390..46801ea 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -5352,8 +5352,7 @@ where doing so does not interfere with debugging. @item -O2 @opindex O2 Optimize even more. GCC performs nearly all supported optimizations -that do not involve a space-speed tradeoff. The compiler does not -perform loop unrolling or function inlining when you specify @option{-O2}. +that do not involve a space-speed tradeoff. As compared to @option{-O}, this option increases both compilation time and the performance of the generated code. |