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

Michael Schnell mschnell at lumino.de
Wed Feb 4 10:32:29 CET 2015


On 02/03/2015 02:27 PM, Sven Barth wrote:
> Afterall globals are considered volatile...

... hence a Pascal compiler creating other code would be erroneous.

It might be a good idea to introduce a keyword such as "nonvolatile" to 
allow for exactly such optimizations.

-Michael



More information about the fpc-pascal mailing list