This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Inlining?


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]