[fpc-devel] Question on updating FPC packages

Sven Barth pascaldragon at googlemail.com
Sun Oct 27 23:30:04 CET 2019


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.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20191027/961d1791/attachment.html>


More information about the fpc-devel mailing list