[fpc-devel] {$INLINE off}

Sven Barth pascaldragon at googlemail.com
Sat May 9 20:25:28 CEST 2015


On 09.05.2015 18:12, Martin Frb wrote:
> Are there any known conditions, in which inlining is applied, despite a
> {$INLINE off}
> on top of the unit?
> (fpc trunk and 2.6.4)

$INLINE OFF only tells the compiler not to generate inlining information 
for functions (either explicitely using "inline" or automatically 
because the autoinline optimization is enabled). It does however not 
stop the compiler from inlining methods that /do/ have inline 
information (because they are from a different unit for example).

Regards,
Sven



More information about the fpc-devel mailing list