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.*
fpc-devel maillist  -  fpc-devel@lists.freepascal.org

Reply via email to