This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][4.0] Fix PR15366, -fno-inline-functions is ignored forstatic functions
- From: Richard Guenther <rguenther at suse dot de>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 Sep 2005 13:20:58 +0200 (CEST)
- Subject: Re: [PATCH][4.0] Fix PR15366, -fno-inline-functions is ignored forstatic functions
- References: <Pine.LNX.4.58.0508311500040.21309@wotan.suse.de><20050831173335.GD14410@redhat.com> <79b7a7086928029b0461042676aa2e83@physics.uc.edu>
On Wed, 31 Aug 2005, Andrew Pinski wrote:
>
> On Aug 31, 2005, at 1:33 PM, Richard Henderson wrote:
>
> > On Wed, Aug 31, 2005 at 03:00:58PM +0200, Richard Guenther wrote:
> > > * common.opt: Add -finline-functions-called-once.
> > > * doc/invoke.texi: Document new option.
> > > * cgraphunit.c (cgraph_decide_inlining): Honour
> > > flag_inline_functions_called_once.
> >
> > Why not exactly the same as the 4.1 patch?
>
> Because ipa-inline.c did not exist in 4.0.
Indeed. Otherwise it's identical. I commited the patch to mainline
with the changed documentation wording I posted. Is this ok for 4.0,
too?
Thanks,
Richard.