On 8/27/25 16:40, Hairy Pixels via fpc-devel wrote:
  On Aug 26, 2025 at 3:49:43 AM, Nikolay Nikolov via fpc-devel <
fpc-devel@lists.freepascal.org> wrote:
[]

I think if the call was inlined it wouldn’t but otherwise it would.

Inlining must not change the behavior.

Nikolay is right, that full or part evaluation is an important difference here.

Another is the unbelievable (well at least for most users) complexity of an if-expression for a Pascal compiler, as it has to determine the result type.

Mattias

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to