Constant propagation won't work on global variables in fpc because they 
currently are always considered volatile.



------ Oprindelig besked------Fra: Jonas MaebeDato: tir., 3. feb. 2015 
10:24Til: FPC-Pascal users discussions;Emne:Re: [fpc-pascal] why fpc do not use 
a known return function value
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:http://wiki.freepascal.org/FPC_New_Features_Trunk#Constant_propagationJonas_______________________________________________fpc-pascal
 maillist  -  
fpc-pascal@lists.freepascal.orghttp://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to