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
This commit is contained in:
Nathan Sidwell 2009-02-12 10:57:59 +00:00 committed by Nathan Sidwell
parent c7b94907e4
commit 28c11eb39b
2 changed files with 6 additions and 2 deletions

View file

@ -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.

View file

@ -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.