[fpc-devel] Const optimization is a serious bug

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Jul 5 15:56:54 CEST 2011


Thaddy schrieb:

> That is also part of the speed optimization: the compiler doesn't have 
> to check because of this contract.

More important: the compiler can omit try-finally sections, otherwise 
required for safe refcounting of non-const strings.

DoDi




More information about the fpc-devel mailing list