From: Nathan Sidwell Date: Thu, 12 Feb 2009 10:57:59 +0000 (+0000) Subject: invoke.texi (Optimize Options): Stop claiming inlining and loop unrolling do not... X-Git-Tag: releases/gcc-4.4.0~571 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28c11eb39b17d2c0a9eca41e69af9777ee8cdd60;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2ad904d0d653..d0f7127ee23d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-02-12 Nathan Sidwell + + * doc/invoke.texi (Optimize Options): Stop claiming inlining and + loop unrolling do not happen at -O2. + 2009-02-12 Michael Matz * gcc.c (ASM_DEBUG_SPEC): Check for -g0. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index fb6739080ccb..46801ea3504c 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.