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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal