This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Inlining?
Hi!
Thanks a lot for your reply!
Sorry for not supplying an example! I am more like asking in a general
way... I have set "-finline-functions" and
"-finline-functions-called-once" but I have to admit that I overlooked
"-fkeep-inline-functions": I'll try to add it!
Thanks!
Philippe
Tim Prince wrote:
>
> Philippe Schaffnit wrote:
> > Hi!
> >
> > I've just run a benchmark of sorts and found out that GFortran is
> > holding its ground nicely against other compilers (this has been
> > reported several times, but I wanted to see it in a very self-centered
> > way...).
> >
> > Nevertheless I'm wondering about something: I take it that little (if
> > any) 'interprocedural analysis' is performed, I don't even seem to be
> > able to have any procedures manually inlined (though I would read the
> > manual as it were possioble): am I doing it wrong? if not, is it a
> > feature of GCC?, or a case of GFortran not getting through to the next
> > GCC stage?
> >
> Surely, you could present an example, with sufficient specificity on
> your target platform, versions, etc. to make an answer possible. Did
> you look up the options -finline-functions,
> -finline-functions-called-once, -fkeep-inline-functions, and relate them
> to your examples?