On SPARC, spurious range error when decrementing a smallint class field.
Original Reporter info from Mantis: MarkMLl @MarkMLl
-
Reporter name: Mark Morgan Lloyd
Original Reporter info from Mantis: MarkMLl @MarkMLl
- Reporter name: Mark Morgan Lloyd
Description:
When the a smallint field with the value -1 is decremented, a range error is raised. Does not appear to affect ordinary variables.
Affects SPARC Linux, does not affect x86 or PPC Linux, other platforms untested.
Steps to reproduce:
Run attached program. Correct output should be numbers 1 0 -1 followed by OK, on SPARC the OK is replaced by an error 201.