From 28c11eb39b17d2c0a9eca41e69af9777ee8cdd60 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Thu, 12 Feb 2009 10:57:59 +0000 Subject: [PATCH] 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 --- 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.47.2