[fpc-devel] Debugging Loop Unroll Optimization

Ondrej Pokorny lazarus at kluug.net
Sun Jun 3 18:10:37 CEST 2018

On 03.06.2018 17:11, Florian Klämpfl wrote:
> Am 21.05.2018 um 20:58 schrieb Ondrej Pokorny:
>> In this (your) case I don't expect anything - it is one of FPC's 
>> favorites "undefined behaviour" because as documented, it is not 
>> allowed to change the loop variable value within a for loop.
> Yes, just asking :)
>> In my case (without the I:=1 assignment) I don't change the loop 
>> variable value - it is absolutely valid to read from it.
> I have fixed this.

Very good, thank you!


More information about the fpc-devel mailing list