Internal error 200706094 on inc (or other addition)
Original Reporter info from Mantis: Thaddy
-
Reporter name: Thaddy de Koning
Original Reporter info from Mantis: Thaddy
- Reporter name: Thaddy de Koning
Description:
I got this internal error 200706094 during translating Rudy Velhuis's biginteger library.
The code should be legal, although it has the possibility to overflow.
Does not matter which syntax you use (+ or inc)
Steps to reproduce:
{$MODE DELPHI}
{$RANGECHECKS OFF}
{$OVERFLOWCHECKS OFF}
function SplitMix64(var X: UInt64) : UInt64;
var
Z: UInt64;
begin
Inc(X, UInt64($9E3779B97F4A7C15));
Z := (X xor (X shr 30)) * UInt64($BF58476D1CE4E5B9);
Z := (Z xor (Z shr 27)) * UInt64($94D049BB133111EB);
Result := Z xor (Z shr 31);
end;
begin
end.
Mantis conversion info:
- Mantis ID: 35298
- OS: all
- OS Build: all
- Build: 41802
- Platform: all
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 44031 (#6c71fd46)