[fpc-devel] Debugging Loop Unroll Optimization
listbox at martoks-place.de
Fri May 18 15:28:28 CEST 2018
Am 18.05.2018 um 14:07 schrieb J. Gareth Moreton:
> What's the easiest solution to this? Change the code or change the rule?
Follow consensus. There's little point in ignoring 30 years of language
development, just because nobody started an ISO committee.
In this case: """After a for-statement is executed, other than being left by a
goto-statement, the control-variable shall be undefined"""
Break/continue/exit wasn't even invented then!
Borland extended this, hence the VCL samples mentioned.
But that is a discussion I have wasted a lot of time on once already, no
intention to do that again.
More information about the fpc-devel