[fpc-pascal]adding zero

Florian Klaempfl Florian.Klaempfl at gmx.de
Sat Jan 4 20:45:05 CET 2003

Mark Emerson wrote:
> Peter Vreman wrote:
>>The compiler does not remove the +0.
>>Btw. You can test it yourself by using the -al switch. It'll give you the
>>assembler output and includes also the corresponding source lines.
> Thanks...but no thanks...I'll just do it this way:
> x := a [m*n {+ 0}];

A pascal compiler shouldn't do any arithmetic transformations though in this 
case it should be done ;)

More information about the fpc-pascal mailing list