This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -Os & inlining functions used only once
- To: neil at daikokuya dot demon dot co dot uk (Neil Booth)
- Subject: Re: -Os & inlining functions used only once
- From: Joe Buck <jbuck at racerx dot synopsys dot com>
- Date: Tue, 17 Apr 2001 11:49:46 -0700 (PDT)
- Cc: aduret at enst dot fr (Alexandre Duret-Lutz), gcc at gcc dot gnu dot org
Alexandre Duret-Lutz wrote:-
>
> > Ah, that makes sense. So I'll pre-scan the file myself and mark
> > those functions 'inline' :)
Neil writes:
> That might be easy to implement as a quick hack, but to do it so you
> get it right all the time sounds extremely hard.
But he doesn't have to "get it right all the time". The penalty for
getting it wrong is just a very slightly larger executable.