Am 12.10.2015 21:43 schrieb "Martin Frb" <laza...@mfriebe.de>:
>> The only drawback is that "cond" is calculated twice instead of once
>> before the actual loop body -- not all will be happy.. ;-)
>>
> Thats an issue for the optimizer. no need to change the language.

The optimizer might not be able to do anything if the expression is a
function call that can not be inlined.

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to