[fpc-devel] Debugging Loop Unroll Optimization
J. Gareth Moreton
gareth at moreton-family.com
Mon May 21 19:46:21 CEST 2018
In that example, I would logically expect an infinite loop.
Realistically, I'm not sure, because you're literally trying to trick the
compiler with a construct like that (which all testers should do!) - that
one could be fun to test!
Gareth aka. Kit
On Mon 21/05/18 19:43 , Florian Klämpfl florian at freepascal.org sent:
Am 21.05.2018 um 19:27 schrieb Ondrej Pokorny:
> On 21.05.2018 18:23, Martok wrote:
>> Am 21.05.2018 um 17:44 schrieb Florian Klämpfl:
>>> I added raise, exit, goto and label as well.
>> Oh, label, right.
>> I'd say #0033614 can be resolved as "fixed in 39083" and #0033753 as
>> required" then.
> Well there is still something left:
> program LoopUnrollTest;
> procedure Test;
> I: Integer;
> procedure Test2;
> for I := 1 to 10 do
What do you expect? That it just works? If yes, what about
for I := 1 to 10 do
fpc-devel maillist - fpc-devel at lists.freepascal.org 
 mailto:fpc-devel at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel