[fpc-pascal] When the variable freed in Optimize compile
Zaher Dirkey
parmaja at gmail.com
Wed Jun 8 10:57:46 CEST 2011
Hi, I know when compile the project with optimize in Delphi the variable
freed/allocated after the last line used.
How can i make same in FPC, O3 not worked for me.
I used FPC 2.4.4
var
c: Currency;
begin
c := 10;
writeln(c);
<<now c freed
some code here
end;
Thanks in advance.
--
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20110608/e26745b5/attachment.html>
More information about the fpc-pascal
mailing list