inlining default

Mark Mitchell mark@codesourcery.com
Wed Dec 12 17:06:00 GMT 2001



--On Wednesday, December 12, 2001 02:00:03 PM +0000 Jason Merrill 
<jason@redhat.com> wrote:

> It seems that Neil's 2001-11-15 changes to option parsing had a side
> effect of turning on tree inlining at -O0 for C and C++ unless suppressed
> with -fno-inline, because we now set flag_tree_inline from flag_no_inline
> before setting flag_no_inline from optimize.  Is this what we want?  I
> would prefer to leave it off by default with -O0, but many compilers turn
> it on unless specifically disabled.  What do other people think?

I think we should leave it off at -O0.  I can't see a compelling
reason to change our historical practice.

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the Gcc mailing list