<html><head>



</head>
<body style="padding-bottom:40px">
    <div style="font-size: 10pt; "><p dir="ltr" style="margin-top:0;margin-bottom:0;">Constant propagation won't work on global variables in fpc because they currently are always considered volatile.</p></div>


<div style="font-size: 10pt; "><div id="LGEmailHeader" dir="ltr" style="margin-top:0;margin-bottom:0;"><p dir="ltr" style="margin-top:0;margin-bottom:0;"><br></p><p dir="ltr" style="margin-top:0;margin-bottom:0;">------ Oprindelig besked------</p><p dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Fra: </b>Jonas Maebe<jonas.maebe@elis.ugent.be></jonas.maebe@elis.ugent.be></p><p dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Dato: </b>tir., 3. feb. 2015 10:24</p><p dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Til: </b>FPC-Pascal users discussions;</p><p dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Emne:</b>Re: [fpc-pascal] why fpc do not use a known return function value</p><p dir="ltr" style="margin-top:0;margin-bottom:0;"><br></p></div><pre>On 02/02/15 13:56, misu kun wrote:> in this program test function has a known return value , and should be> calculated in compile time , but fpc make it in real time !!!Constant propagation is a new feature in the upcoming FPC release:<a href="http://wiki.freepascal.org/FPC_New_Features_Trunk#Constant_propagationJonas_______________________________________________fpc-pascal">http://wiki.freepascal.org/FPC_New_Features_Trunk#Constant_propagationJonas_______________________________________________fpc-pascal</a> maillist  - <a href="mailto: fpc-pascal@lists.freepascal.orghtt"> fpc-pascal@lists.freepascal.orghtt</a>p://<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a></pre></div></body></html>