[fpc-devel] bug: Inc(v,i)/Dec(v,i)

Gerhard Scholz gs at g--s.de
Tue Jul 5 09:21:36 CEST 2005


...
> >Inc ( v, i ) and Dec ( v, i ) produce rangecheck or overflow check with
{$r+,q+}

...
> This looks similar to bug 4152 that I submitted recently.
> Colin

...
I agree. Some overstrong range checking in Inc and Dec. Seems to occur if

1. the first param is unsigned (Pointer is also a kind of unsigned)

and

2. the second param is negative

Gerhard





More information about the fpc-devel mailing list