This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [middle-end, patch 4/8] Add compiler a option to turn on indirect inlining


> Hi,
> 
> On Tue, Jul 15, 2008 at 11:22:01PM +0200, Jan Hubicka wrote:
> > > This patch adds an option to turn on inlining of indirect calls.  The
> > > option is also automatically on for when compiling with -O3.
> > > 
> > > I have added documentation of the new option to this patch.
> > > 
> > > 
> > > 2008-07-15  Martin Jambor  <mjambor@suse.cz>
> > > 
> > > 	* doc/invoke.texi (Optimize options): Add description of
> > > 	-fearly-inlining.
> > > 
> > > 	* common.opt (flag_indirect_inlining): New flag.
> > > 
> > > 	* opts.c (decode_options): Set flag_indirect_inlining when 
> > > 	optimize >= 3
> > 
> > OK (after other patches are approved too of course ;)
> 
> Thanks!
> 
> > > +@item -findirect-inlining
> > > +@opindex findirect-inlining
> > > +Inline also indirect calls that are discovered to be known at compile
> > > +time thanks to previous inlining.  This option has any effect only
> > > +when inlining itself is turned on by the @option{-finline-functions}
> > > +option (as opposed to early inlining which is not enough to make this
> > > +work).
> > > +
> > > +Enabled at level @option{-O3}.
> > 
> > I think -O2/-Os is quite appropriate here too.  
> 
> OK, I will give it a go.
> 
> > Also should be mentioned in changes.html.
> > 
> 
> You mean the one on the web?  I guess we should announce this publicly
> when the feature is really in.

Yes, I meant the changes.html of GCC-4.3 pages.  Lets hope feature wil
be in soon ;)

Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]