Patchwork [PR,45443] Add -fipa-cp-clone to the list of -O3 optimizations

login
register
mail settings
Submitter Martin Jambor
Date Sept. 7, 2010, 5:26 p.m.
Message ID <20100907172628.GE30878@virgil.arch.suse.de>
Download mbox | patch
Permalink /patch/64036/
State New
Headers show

Comments

Martin Jambor - Sept. 7, 2010, 5:26 p.m.
Hi,

bug 45443 correctly states that -fipa-cp-clone should be in the list
of -O3 optimizations and is not.  This patch fixes that.  I'll wait
for a few hours and then commit this as obvious to the trunk and the
4.5 and 4.4 branches.

Tested with "make pdf".

Thanks,

Martin


2010-09-07  Martin Jambor  <mjambor@suse.cz>

	PR other/45443
	* doc/invoke.texi: Add -fipa-cp-clone to list of switches turned on
	at -O3.

Patch

Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi	(revision 163910)
+++ gcc/doc/invoke.texi	(working copy)
@@ -5979,7 +5979,8 @@  invoking @option{-O2} on programs that u
 Optimize yet more.  @option{-O3} turns on all optimizations specified
 by @option{-O2} and also turns on the @option{-finline-functions},
 @option{-funswitch-loops}, @option{-fpredictive-commoning},
-@option{-fgcse-after-reload} and @option{-ftree-vectorize} options.
+@option{-fgcse-after-reload}, @option{-ftree-vectorize} and
+@option{-fipa-cp-clone} options.
 
 @item -O0
 @opindex O0