[fpc-devel] Inc() and Dec() on properties

2013-12-20 Thread Mark Morgan Lloyd
A question if I may, leading on from http://bugs.freepascal.org/view.php?id=25440 - inc(x)/dec(x) with range checking enabled are optimized with taking address of x. Is that why Inc() and Dec() can't be applied to properties, or are there other issues? They were using untyped address,

Re: [fpc-devel] Inc() and Dec() on properties

2013-12-20 Thread Sven Barth
On 20.12.2013 22:02, Mark Morgan Lloyd wrote: A question if I may, leading on from http://bugs.freepascal.org/view.php?id=25440 - inc(x)/dec(x) with range checking enabled are optimized with taking address of x. Is that why Inc() and Dec() can't be applied to properties, or are there other

Re: [fpc-devel] Inc() and Dec() on properties

2013-12-20 Thread Mark Morgan Lloyd
Sven Barth wrote: On 20.12.2013 22:02, Mark Morgan Lloyd wrote: A question if I may, leading on from http://bugs.freepascal.org/view.php?id=25440 - inc(x)/dec(x) with range checking enabled are optimized with taking address of x. Is that why Inc() and Dec() can't be applied to properties,

Re: [fpc-devel] Inc() and Dec() on properties

2013-12-20 Thread Sergei Gorelkin
On 21.12.2013 02:11, Mark Morgan Lloyd wrote: Sven Barth wrote: On 20.12.2013 22:02, Mark Morgan Lloyd wrote: A question if I may, leading on from http://bugs.freepascal.org/view.php?id=25440 - inc(x)/dec(x) with range checking enabled are optimized with taking address of x. Is that why

[fpc-devel] Implausibly large words

2013-12-20 Thread Mark Morgan Lloyd
I find myself looking at a simulation of a CPU where I need to take 72-bit memory into account. Does the core team have any remote plans for an Int128 or OWord data type? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or