compiler doesn't generate range check code for boolean array
Original Reporter info from Mantis: roked
-
Reporter name: Marģers
Original Reporter info from Mantis: roked
- Reporter name: Marģers
Description:
if {$r+}, then there are no range check code for arrays defined as
a : array[ boolean ] of ...;
z : array[ boolean16 ] of ...;
q : array[ boolean32 ] of ...;
w : array[ boolean64 ] of ...;
Steps to reproduce:
see tboolrng.pas
Mantis conversion info:
- Mantis ID: 34100
- OS: linux
- Platform: x86_64
- Version: 3.0.0