[fpc-devel] Debugging Loop Unroll Optimization

Florian Klämpfl florian at freepascal.org
Sun Jun 3 17:11:15 CEST 2018

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.

More information about the fpc-devel mailing list