Incorrect code generation when range checks are on
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 code gives different results with and without -Cr:
fpc bug1.pas
Free Pascal Compiler version 1.9.3 [2004/03/13] for i386
$ ./bug1
a
fpc -Cr bug1.pas
$ ./bug1
b
Additional information:
Reporter: C Western
EMail: mftq75 at dsl dot pipex dot com
Mantis conversion info:
- Mantis ID: 5021
- OS: Linux
- Version: 1.9.3
- Fixed in version: 1.9.5