Inlining?
Tim Prince
timothyprince@sbcglobal.net
Wed Aug 30 12:53:00 GMT 2006
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?
More information about the Fortran
mailing list