This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fobey-inline (was Re: gcc and inlining)
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: dewar at gnat dot com (Robert Dewar)
- Cc: Richard dot Earnshaw at arm dot com, bernds at redhat dot com, aph at redhat dot com, gcc at gcc dot gnu dot org, rearnsha at arm dot com
- Date: Sat, 15 Mar 2003 18:38:34 +0000
- Subject: Re: -fobey-inline (was Re: gcc and inlining)
> > this is the reason why I would like something like -fobey-inline as default.
>
> That seems undesirable to me, there may be legitimate reasons for refusing
> to inline a function (e.g. performance reasons, if you have a huge function
> with many calls, then the code explosion is very likely to degrade
> performance by degrading icache performance).
Or causing excessive spilling.
R.