[fpc-devel] Looking for some general clarification on how exactly revision #43175 "fixes" bugtracker issue #0036139

wkitty42 at windstream.net wkitty42 at windstream.net
Sun Oct 13 03:17:08 CEST 2019


On 10/12/19 7:54 PM, Ben Grasset wrote:
> Generally speaking, I would expect any compiler that is *capable* of realizing 
> that the while loop has zero chance of *ever being entered at all* in the first 
> place to remove the loop from its final codegen entirely, because there's no 
> logical reason for it to be there.


wouldn't this depend on the setting of "boolean short circuits"? if they are 
off/false, then the entire boolean sequence is evaluated... or have i 
misunderstood something?


-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list unless*
        *a signed and pre-paid contract is in effect with us.*


More information about the fpc-devel mailing list