On Fri, Jul 8, 2011 at 04:22, Florian Klämpfl <flor...@freepascal.org> wrote:
>
> Why? 2) is exactly the same? The const contract with the compiler is broken.

Since when are passing by value and by reference the same?

> Besides this, people like Martin Schreiber won't be happy if a procedure
> suddently eats hundreds of extra clock cycles for nothing.
For those people, I proposed to add optimization switch to the "UNCERTAIN"
group. I just do not think it should be on by default.
Also, can you Cc him -- maybe we should ask him directly?

-- 
Alexander S. Klenin
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to