[fpc-pascal] Can FPC optimize: if (s[i]='a') or ...

Tomas Hajny XHajT03 at hajny.biz
Mon Apr 15 08:29:59 CEST 2019


On Mon, April 15, 2019 07:52, Bernd Oppolzer wrote:
 .
 .
>>> On Samstag, 13. April 2019 22:30:55 CEST Alexey Tor. wrote:
 .
 .
>>>> Can FPC optimize it so it only reads s[i] once (to register), not 3
>>>> times?
 .
 .
> True for New Stanford Pascal:
 .
 .

I fail to see how is this related to FPC or the question of the original
poster (who was explicitly asking about FPC). Could we stay on topic,
please?

Tomas
(one of FPC mailing list moderators)





More information about the fpc-pascal mailing list