Exception 'External: SIGFPE' raised when using variable of subrange type as divisor.
Original Reporter info from Mantis: Cyrax
-
Reporter name:
Original Reporter info from Mantis: Cyrax
- Reporter name:
Description:
See summary, additional information and this bug report for more info : http://bugs.freepascal.org/view.php?id=27167
Possible patch by Do-wan Kim ("ranged_division_overflow_nx86mat.pas.patch") is attached in that bug report, too
Steps to reproduce:
Compile attached file "error.pp" in bug report http://bugs.freepascal.org/view.php?id=27167
Additional information:
Project error raised exception class 'External: SIGFPE'.
In file 'error.pp' at line 14:
c := -5 div b;
Mantis conversion info:
- Mantis ID: 27173
- OS: Server 2008 R2
- OS Build: 6.1.7601 (SP1)
- Build: r29300
- Platform: Windows
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 27173 (#517f802c)
- Monitored by: » parcel (Do-wan Kim)