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

Michael Van Canneyt <mich...@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.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to