Re: integer overflow during division
Forget about this mail. Sent to the wrong mailing list.
integer overflow during division
Division by -1 is also known to cause signed integer overflow. In this case, on x86_64 CPUs, you don't even need a '-ftrapv' option. Test case: (poke) var x = -4611686018427387904; (poke) var y = 2*x; (poke) y / -1 Gleitkomma-Ausnahme (Speicherabzug geschrieben) In the debugger: (poke) var x = -