From 38b6490007f5055b804cb1def8a1e540facdc3ff Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 12 Feb 2009 10:57:59 +0000 Subject: [PATCH] * doc/invoke.texi (Optimize Options): Stop claiming inlining and loop unrolling do not happen at -O2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144123 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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. -- 2.11.4.GIT