Bad Overflow Check
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
The attached program gives a spurious overflow error at the line
d := Ord(a)-Ord(b);
when the answer should be -1. The equivalent line in the main program does not.
This is a re-submission of bug 4004; the problem is tagged fixed in 2.0.1 but seems to be still present in the current svn. Note that the original submisson was tagged 2.0.0 on darwin and I am curently getting it in the current svn on both linux/i386 and darwin.
Additional information:
Reporter: C Western
EMail: mftq75 at dsl dot pipex dot com
Mantis conversion info:
- Mantis ID: 6054
- OS: Linux
- Fixed in version: 2.0.2