wrong negate: int64 := -longint
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
wrong negate: int64 := -longint
int64-var gets wrong value when assigning a negated longint to int64.
the assembler code shows that the longint is negated correctly, and then the highpart of
the int64 is set to 0 (zero).
occured for a subranged int64, but also happens with normal int64.
Additional information:
Reporter: Gerhard
EMail: gs at g--s dot de
Mantis conversion info:
- Mantis ID: 6171
- OS: Win32
- Fixed in version: 2.0.2