Inlining?

Jerry DeLisle jvdelisle@verizon.net
Fri Sep 8 00:21:00 GMT 2006


Andrew Pinski wrote:
> On Wed, 2006-08-30 at 09:26 +0200, 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...).
> 
> NOTE: This is references GCC internals so what follows might not make
> sense to users of GFortran but does make sense to the developers.
> 
> There is one reason and one reason only Gfortran does not inline.  It
> produces multiple FUNCTION_DECLs to refer to the same function.  Now
> functions containing other functions are correctly because there is only
> one function_decl.
> 
> Yes this is a known bug and has already been discussed.  I was also
> going to fix it at one point but work has gotten in the way so I cannot
> fix this for a while.
> 
> 
> Thanks,
> Andrew Pinski
> 
> 
Is there a PR in place to track this?  (So we can bug you later to fix it :) )

Jerry



More information about the Fortran mailing list