[fpc-pascal] why fpc do not use a known return function value

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Feb 3 12:13:50 CET 2015


On 03/02/15 11:01, jeppe at j-software.dk wrote:
> Constant propagation won't work on global variables in fpc because they
> currently are always considered volatile.

The propagation is into the inlined body of the function, not the value
of the global variable 'c' after it has been assigned.


Jonas




More information about the fpc-pascal mailing list