“n - n mod CONST” gives internal error on x86-64/win64 with overflow checks.
Your [foot trap](https://gitlab.com/freepascal.org/fpc/source/-/issues/39615#note_1182086045), sir. After 0ba4cee279b0bd8b13dfa27ff9a32b6b80397d79, this code: ```pascal {$overflowchecks on} var n: SizeUint; begin n := 14 + random(0); n := n - n mod 4; writeln(n); end. ``` gives `Internal error 200109225` on x86-64/win64. All of the following works: i386/win32, signed type, manually replacing `n := n - n mod 4;` with `n := n div 4 * 4`.
issue