Maxim Egorov wrote:
I guess that the behavior of FPC is correct and expectable. I just try
your example in Delphi 7, 2007, 2009 and was amazed. They indeed don't
assign anything to the array A. This is a Delphi compiler bug. FPC must
not copy delphi compiler mistakes. :)

Since the return value is undefined, anything is possible:
* calculate crc32 over executable
* random value from stack
* do nothing at all

Micha
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to