[fpc-devel] Question on updating FPC packages

Michael Van Canneyt michael at freepascal.org
Mon Oct 28 00:07:10 CET 2019



On Sun, 27 Oct 2019, Sven Barth via fpc-devel wrote:

> Michael Van Canneyt <michael at freepascal.org> schrieb am So., 27. Okt. 2019,
> 10:58:
>
>> Best of all would IMHO be to abolish or even totally ignore 'inline'.
>> It is a hint, after all. The compiler is not forced to inline, even
>> when the modifier is there.
>>
>
> That would be a bit problematic: auto inlining needs to first parse the
> routine to determine whether it can be inlined at all which would then
> change the checksum of the interface section as now the routine would carry
> the node information required for inlining which it didn't before thus
> leading to the requirement of an additional compilation pass of dependent
> units.

How does $autoinline then work ? Doesn't it have to do the same ?

Michael.


More information about the fpc-devel mailing list